aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/binop-cast.ll
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-12 07:18:14 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-12 07:18:14 +0000
commit7aeb9b5e4ca94fe15d476c3b417b29bef7298932 (patch)
tree339c4238127c494e2e1a110bb7b24c962516c261 /test/Transforms/InstCombine/binop-cast.ll
parenta457ba09f7cb4d4f89e22083a50bb543a9843981 (diff)
downloadexternal_llvm-7aeb9b5e4ca94fe15d476c3b417b29bef7298932.zip
external_llvm-7aeb9b5e4ca94fe15d476c3b417b29bef7298932.tar.gz
external_llvm-7aeb9b5e4ca94fe15d476c3b417b29bef7298932.tar.bz2
Convert the rest of the InstCombine tests from notcast to FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83828 91177308-0d34-0410-b5e6-96231b3b80d8
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 ee43fe0..3dbca7e 100644
--- a/test/Transforms/InstCombine/binop-cast.ll
+++ b/test/Transforms/InstCombine/binop-cast.ll
@@ -1,7 +1,9 @@
-; RUN: opt < %s -instcombine -S | 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
}