Fix broken test
authorChris Lattner <sabre@nondot.org>
Sat, 7 Sep 2002 22:48:30 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 Sep 2002 22:48:30 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3613 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/BasicAA/licmtest.ll
test/Transforms/BasicAA/licmtest.ll

index 92f58e8b33fe51bce6f262b5882fdd582922b2f4..60deccdf4d3c37fb023c3691cb19b45f8bf8c893 100644 (file)
 implementation
 
 int %test(bool %c) {
-       %Atmp = load int* %A
+       %ToRemove = load int* %A
        br label %Loop
 Loop:
-       %ToRemove = load int* %A
-       store int %ToRemove, int* %B  ; Store cannot alias %A
+       %Atmp = load int* %A
+       store int %Atmp, int* %B  ; Store cannot alias %A
 
        br bool %c, label %Out, label %Loop
 Out:
index 92f58e8b33fe51bce6f262b5882fdd582922b2f4..60deccdf4d3c37fb023c3691cb19b45f8bf8c893 100644 (file)
 implementation
 
 int %test(bool %c) {
-       %Atmp = load int* %A
+       %ToRemove = load int* %A
        br label %Loop
 Loop:
-       %ToRemove = load int* %A
-       store int %ToRemove, int* %B  ; Store cannot alias %A
+       %Atmp = load int* %A
+       store int %Atmp, int* %B  ; Store cannot alias %A
 
        br bool %c, label %Out, label %Loop
 Out: