Prepare for PR411
authorReid Spencer <rspencer@reidspencer.com>
Sun, 4 Feb 2007 02:11:13 +0000 (02:11 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 4 Feb 2007 02:11:13 +0000 (02:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33865 91177308-0d34-0410-b5e6-96231b3b80d8

test/Integer/BitBit.ll
test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll

index 7c17326e1981cdb52e27c4e46f91c7b4c86d703a..944d51e799f3706b369b35006ddb7e51d47b9f70 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
-declare void @"foo"(i31 %i, i17 %j)
+declare void @"foo"(i31 %i, i33 %j)
 
 implementation
 
index d5e988f5e942fffe6ac8f598dd2d44fb26d9bbff..5f55579387236b43f439f9df6cd020024333c38c 100644 (file)
@@ -10,8 +10,8 @@ entry:
        %B = alloca i32
        %tmp = call i32 (...)* @bar( i32* %A )          ; <i32> [#uses=0]
        %T = load i32* %A               ; <i32> [#uses=1]
-       %tmp = icmp eq i32 %C, 0                ; <i1> [#uses=1]
-       br i1 %tmp, label %cond_next, label %cond_true
+       %tmp2 = icmp eq i32 %C, 0               ; <i1> [#uses=1]
+       br i1 %tmp2, label %cond_next, label %cond_true
 
 cond_true:             ; preds = %entry
        store i32 123, i32* %B