make the indvar obviously non-canonical
authorChris Lattner <sabre@nondot.org>
Mon, 13 Oct 2003 03:31:42 +0000 (03:31 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Oct 2003 03:31:42 +0000 (03:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9070 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopSimplify/single-backedge.ll

index 63fa33a95830837ce6cf5b517559966a885abdfd..be3d182fcc9ba0eeda8d7c670d5771fa2fd0dadf 100644 (file)
@@ -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: