[OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED.
[oota-llvm.git] / test / Transforms / InstCombine / binop-cast.ll
index ea5299ba87612c2a7b1057db96a92666185a6341..3dbca7ef148996b9c4176359b6898a39a7e88ac4 100644 (file)
@@ -1,7 +1,9 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
+; RUN: opt < %s -instcombine -S | FileCheck %s
 
 define i32 @testAdd(i32 %X, i32 %Y) {
        %tmp = add i32 %X, %Y
+; CHECK: %tmp = add i32 %X, %Y
        %tmp.l = bitcast i32 %tmp to i32
        ret i32 %tmp.l
+; CHECK: ret i32 %tmp
 }