summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_splat.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-04-27 07:11:58 +0000
committerCraig Topper <craig.topper@gmail.com>2012-04-27 07:11:58 +0000
commite57b49ee165d7d86cf5fa83be1190483d56e12a9 (patch)
tree55a48789e0da836864bcbdc3497296dc469f952e /llvm/test/CodeGen/X86/vec_splat.ll
parentbd5bb6fda3e5aff55a190de14fe03770b5a50a22 (diff)
downloadbcm5719-llvm-e57b49ee165d7d86cf5fa83be1190483d56e12a9.tar.gz
bcm5719-llvm-e57b49ee165d7d86cf5fa83be1190483d56e12a9.zip
Add mcpu to tests to prevent them from using AVX instructions on Sandy Bridge after r155618.
llvm-svn: 155696
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_splat.ll')
-rw-r--r--llvm/test/CodeGen/X86/vec_splat.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/vec_splat.ll b/llvm/test/CodeGen/X86/vec_splat.ll
index a87fbd0dc65..24d8487f17b 100644
--- a/llvm/test/CodeGen/X86/vec_splat.ll
+++ b/llvm/test/CodeGen/X86/vec_splat.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep pshufd
-; RUN: llc < %s -march=x86 -mattr=+sse3 | grep movddup
+; RUN: llc < %s -march=x86 -mcpu=penryn -mattr=+sse2 | grep pshufd
+; RUN: llc < %s -march=x86 -mcpu=penryn -mattr=+sse3 | grep movddup
define void @test_v4sf(<4 x float>* %P, <4 x float>* %Q, float %X) nounwind {
%tmp = insertelement <4 x float> zeroinitializer, float %X, i32 0 ; <<4 x float>> [#uses=1]
OpenPOWER on IntegriCloud