Make DataLayout Non-Optional in the Module
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / X86 / 2008-08-14-ShadowIV.ll
index 9a7f4865c591319bf8daaab12023cf03a2346653..ba03597c525c6d01339cb465a0f1c83b17f21246 100644 (file)
@@ -1,5 +1,9 @@
 ; RUN: opt < %s -loop-reduce -S -mtriple=x86_64-unknown-unknown | grep "phi double" | count 1
 
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
 define void @foobar(i32 %n) nounwind {
 entry:
        icmp eq i32 %n, 0               ; <i1>:0 [#uses=2]