From 884df210c7501ac55099c11d524080e42f918c7a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 21 Apr 2006 01:21:23 +0000 Subject: [PATCH] Check for llc crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27925 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vec_clear.ll | 1 + test/CodeGen/X86/vec_shuffle-4.ll | 1 + 2 files changed, 2 insertions(+) diff --git a/test/CodeGen/X86/vec_clear.ll b/test/CodeGen/X86/vec_clear.ll index b19650112c6..1c38825afc7 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 20a0a32d43b..3e73deb95fb 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) {