aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid_cast.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-08 11:00:38 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-08 11:00:38 +0000
commita0126afec8d81945006dec1dda4b55c848318f78 (patch)
tree4294604f08324c684d8381e071e35f6115f0e8f6 /test/Assembler/invalid_cast.ll
parent69b2c71abb3fa17612ebfb1fb804b656ea47ab8f (diff)
downloadexternal_llvm-a0126afec8d81945006dec1dda4b55c848318f78.zip
external_llvm-a0126afec8d81945006dec1dda4b55c848318f78.tar.gz
external_llvm-a0126afec8d81945006dec1dda4b55c848318f78.tar.bz2
FileCheckize these testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/invalid_cast.ll')
-rw-r--r--test/Assembler/invalid_cast.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Assembler/invalid_cast.ll b/test/Assembler/invalid_cast.ll
index c5b082b..f682835 100644
--- a/test/Assembler/invalid_cast.ll
+++ b/test/Assembler/invalid_cast.ll
@@ -1,4 +1,6 @@
-; RUN: not llvm-as < %s |& grep {invalid cast opcode}
+; RUN: not llvm-as < %s |& FileCheck %s
+
+; CHECK: invalid cast opcode for cast from '<4 x i64>' to '<3 x i8>'
define <3 x i8> @foo(<4 x i64> %x) {
%y = trunc <4 x i64> %x to <3 x i8>