summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-13 03:31:42 +0000
committerChris Lattner <sabre@nondot.org>2003-10-13 03:31:42 +0000
commitc00d23a727f143bdd24f29d529ebc2cc3230bef8 (patch)
tree2e6b3b7e078c2d7ec654829b1abbfa6b63012089 /test
parent21fb3afe73726f3c250e821c0862be73b1d63720 (diff)
downloadllvm-c00d23a727f143bdd24f29d529ebc2cc3230bef8.tar.gz
llvm-c00d23a727f143bdd24f29d529ebc2cc3230bef8.tar.bz2
llvm-c00d23a727f143bdd24f29d529ebc2cc3230bef8.tar.xz
make the indvar obviously non-canonical
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/LoopSimplify/single-backedge.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopSimplify/single-backedge.ll b/test/Transforms/LoopSimplify/single-backedge.ll
index 63fa33a958..be3d182fcc 100644
--- a/test/Transforms/LoopSimplify/single-backedge.ll
+++ b/test/Transforms/LoopSimplify/single-backedge.ll
@@ -7,7 +7,7 @@
int %test(bool %C) {
br label %Loop
Loop:
- %IV = phi uint [0, %0], [%IV2, %BE1], [%IV2, %BE2]
+ %IV = phi uint [1, %0], [%IV2, %BE1], [%IV2, %BE2]
%IV2 = add uint %IV, 2
br bool %C, label %BE1, label %BE2
BE1: