Fix a test test llvm.exp found.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 18:33:31 +0000 (18:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 18:33:31 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36006 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/binop-cast.ll

index 7ca0151159793dad1104f25768fb877e3ba85d78..ea5299ba87612c2a7b1057db96a92666185a6341 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | notcast
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
 
-uint %testAdd(int %X, int %Y) {
-       %tmp = add int %X, %Y
-       %tmp.l = sext int %tmp to uint
-       ret uint %tmp.l
+define i32 @testAdd(i32 %X, i32 %Y) {
+       %tmp = add i32 %X, %Y
+       %tmp.l = bitcast i32 %tmp to i32
+       ret i32 %tmp.l
 }