Add a priority queue class, which is a wrapper around std::priority_queue
[oota-llvm.git] / test / Transforms / InstCombine / binop-cast.ll
index 13404df94174866b317558db69bdef9f4dbe3ac4..ea5299ba87612c2a7b1057db96a92666185a6341 100644 (file)
@@ -1,7 +1,7 @@
 ; 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
 }