summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit57f8e5ebe4d5e9ba27ce670d3142f56a001b0d1e (patch)
tree9869abead0da03926a9ec103ad0c5801888b93c1 /llvm/test/Assembler/invalid_cast.ll
parent5c0068f8075e4e687df8c7f2fee1c47224077af9 (diff)
downloadbcm5719-llvm-57f8e5ebe4d5e9ba27ce670d3142f56a001b0d1e.tar.gz
bcm5719-llvm-57f8e5ebe4d5e9ba27ce670d3142f56a001b0d1e.zip
FileCheckize these testcases.
llvm-svn: 154281
Diffstat (limited to 'llvm/test/Assembler/invalid_cast.ll')
-rw-r--r--llvm/test/Assembler/invalid_cast.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Assembler/invalid_cast.ll b/llvm/test/Assembler/invalid_cast.ll
index c5b082b6b8d..f6828357243 100644
--- a/llvm/test/Assembler/invalid_cast.ll
+++ b/llvm/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>
OpenPOWER on IntegriCloud