aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-04-21 01:21:23 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-04-21 01:21:23 +0000
commit884df210c7501ac55099c11d524080e42f918c7a (patch)
tree7261b7dc016e51e1e16c336f7a844a88d27ad292 /test
parent856c1c93f9cb247b1cbbaab8400255e6f493ce4a (diff)
downloadexternal_llvm-884df210c7501ac55099c11d524080e42f918c7a.zip
external_llvm-884df210c7501ac55099c11d524080e42f918c7a.tar.gz
external_llvm-884df210c7501ac55099c11d524080e42f918c7a.tar.bz2
Check for llc crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/vec_clear.ll1
-rw-r--r--test/CodeGen/X86/vec_shuffle-4.ll1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_clear.ll b/test/CodeGen/X86/vec_clear.ll
index b196501..1c38825 100644
--- a/test/CodeGen/X86/vec_clear.ll
+++ b/test/CodeGen/X86/vec_clear.ll
@@ -1,3 +1,4 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 &&
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep and
<4 x float> %test(<4 x float>* %v1) {
%tmp = load <4 x float>* %v1
diff --git a/test/CodeGen/X86/vec_shuffle-4.ll b/test/CodeGen/X86/vec_shuffle-4.ll
index 20a0a32..3e73deb 100644
--- a/test/CodeGen/X86/vec_shuffle-4.ll
+++ b/test/CodeGen/X86/vec_shuffle-4.ll
@@ -1,3 +1,4 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 &&
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shuf | wc -l | grep 3
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep unpck
void %test(<4 x float>* %res, <4 x float>* %A, <4 x float>* %B, <4 x float>* %C) {