aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-08-31 10:02:22 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-08-31 10:02:22 +0000
commit2a1b0e786487fefbafc05478bc49056309ce9fb7 (patch)
treefd7aad62b5b54fefd737b8cabbc74231de613d06 /test
parentf91e400b2125067e75e0f2159bca7ffd0cf109a0 (diff)
downloadexternal_llvm-2a1b0e786487fefbafc05478bc49056309ce9fb7.zip
external_llvm-2a1b0e786487fefbafc05478bc49056309ce9fb7.tar.gz
external_llvm-2a1b0e786487fefbafc05478bc49056309ce9fb7.tar.bz2
llvm/test/CodeGen/X86/vec_select.ll: Fix failure on xmm-less hosts, to add -mattr=+sse2.
FIXME: Should this be tested with both +avx and -avx,+sse2? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/vec_select.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/vec_select.ll b/test/CodeGen/X86/vec_select.ll
index 065232c..a0afe1f 100644
--- a/test/CodeGen/X86/vec_select.ll
+++ b/test/CodeGen/X86/vec_select.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
; When legalizing the v4i1 constant, we need to consider the boolean contents
; For x86 a boolean vector constant is all ones so the constants in memory