summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/binop-cast.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/binop-cast.ll')
-rw-r--r--test/Transforms/InstCombine/binop-cast.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/binop-cast.ll b/test/Transforms/InstCombine/binop-cast.ll
index ea5299ba87612..3dbca7ef14899 100644
--- a/test/Transforms/InstCombine/binop-cast.ll
+++ b/test/Transforms/InstCombine/binop-cast.ll
@@ -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
}