Changes in directory llvm/test/Transforms/InstCombine:

binop-cast.ll updated: 1.2 -> 1.3
---
Log message:

Fix a test test llvm.exp found.


---
Diffs of the changes:  (+5 -5)

 binop-cast.ll |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/test/Transforms/InstCombine/binop-cast.ll
diff -u llvm/test/Transforms/InstCombine/binop-cast.ll:1.2 
llvm/test/Transforms/InstCombine/binop-cast.ll:1.3
--- llvm/test/Transforms/InstCombine/binop-cast.ll:1.2  Fri Dec  1 22:23:09 2006
+++ llvm/test/Transforms/InstCombine/binop-cast.ll      Sat Apr 14 13:33:31 2007
@@ -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
 }



_______________________________________________
llvm-commits mailing list
[EMAIL PROTECTED]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to