Make DataLayout Non-Optional in the Module
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / variable_stride.ll
index 7c0f053e4c345a65f0b5be0f80a5c20540729b8e..f82b2fc29ac548a4f450afcb21d24b84e3f9544c 100644 (file)
@@ -1,6 +1,9 @@
 ; Check that variable strides are reduced to adds instead of multiplies.
 ; RUN: opt < %s -loop-reduce -S | not grep mul
 
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
 declare i1 @pred(i32)
 
 define void @test([10000 x i32]* %P, i32 %STRIDE) {