summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/apint-zext1.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/apint-zext1.ll
parenta457ba09f7cb4d4f89e22083a50bb543a9843981 (diff)
downloadllvm-7aeb9b5e4ca94fe15d476c3b417b29bef7298932.tar.gz
llvm-7aeb9b5e4ca94fe15d476c3b417b29bef7298932.tar.bz2
llvm-7aeb9b5e4ca94fe15d476c3b417b29bef7298932.tar.xz
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/apint-zext1.ll')
-rw-r--r--test/Transforms/InstCombine/apint-zext1.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/apint-zext1.ll b/test/Transforms/InstCombine/apint-zext1.ll
index 2b59693640..40de360bb6 100644
--- a/test/Transforms/InstCombine/apint-zext1.ll
+++ b/test/Transforms/InstCombine/apint-zext1.ll
@@ -1,9 +1,11 @@
; Tests to make sure elimination of casts is working correctly
; This test is for Integer BitWidth <= 64 && BitWidth % 2 != 0.
-; RUN: opt < %s -instcombine -S | notcast {} {%c1.*}
+; RUN: opt < %s -instcombine -S | FileCheck %s
define i47 @test_sext_zext(i11 %A) {
%c1 = zext i11 %A to i39
%c2 = sext i39 %c1 to i47
ret i47 %c2
+; CHECK: %c2 = zext i11 %A to i47
+; CHECK: ret i47 %c2
}