aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-20 00:40:56 +0000
committerDan Gohman <gohman@apple.com>2009-06-20 00:40:56 +0000
commit97b52b2a88dc86bd0e79a9417a9a11b6971df789 (patch)
tree5c4d59e89a3d3a6ed73768d6e0d289466f815dc7
parent763bad1a2b2c913fe1f3489d6ab450762a1aa5e3 (diff)
Tweak this test to be a little less unusual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73808 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll b/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
index d15c2dc313..be1372ded3 100644
--- a/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
+++ b/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {1,+,2}<loop>:}
+; RUN: llvm-as < %s | opt -analyze -iv-users -disable-output | grep {Stride i64 {3,+,2}<loop>:}
; The value of %r is dependent on a polynomial iteration expression.
@@ -13,6 +13,6 @@ loop:
br i1 %c, label %exit, label %loop
exit:
- %r = mul i64 %indvar, %indvar
+ %r = mul i64 %indvar.next, %indvar.next
ret i64 %r
}