diff options
Diffstat (limited to 'test/Transforms/LoopStrengthReduce/variable_stride.ll')
-rw-r--r-- | test/Transforms/LoopStrengthReduce/variable_stride.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Transforms/LoopStrengthReduce/variable_stride.ll b/test/Transforms/LoopStrengthReduce/variable_stride.ll index 7c0f053..f82b2fc 100644 --- a/test/Transforms/LoopStrengthReduce/variable_stride.ll +++ b/test/Transforms/LoopStrengthReduce/variable_stride.ll @@ -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) { |