Make DataLayout Non-Optional in the Module
[oota-llvm.git] / test / Transforms / LoopSimplify / preserve-scev.ll
index bc6d35c3d721328beddc15385105f17e6d4e4622..f6fa8afc56b555587dadfde487f21dc5ea3f28fb 100644 (file)
@@ -1,6 +1,9 @@
 ; RUN: opt -S < %s -indvars | opt -analyze -iv-users | grep "%cmp = icmp slt i32" | grep "= {%\.ph,+,1}<%for.cond>"
 ; PR8079
 
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
 ; LoopSimplify should invalidate indvars when splitting out the
 ; inner loop.