diff options
Diffstat (limited to 'test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll')
-rw-r--r-- | test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll b/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll index f873b3d..e1c9642 100644 --- a/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll +++ b/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll @@ -1,4 +1,5 @@ -; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep {mul.*%lsr.iv} | count 2 +; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis \ +; RUN: | grep {getelementptr.*%lsr.iv.*%lsr.iv.*<i32\\*>} ; The multiply in bb2 must not be reduced to an add, as the sext causes the ; %1 argument to become negative after a while. ; ModuleID = '<stdin>' |