summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-05-30 21:31:21 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-05-30 21:31:21 +0000
commit94141a42ed5099ee228a28ce4e4b2ac97f84bb12 (patch)
tree72c81411328dd22763f5c6921d3e156ab3b4cfa9 /test
parent6126c5578278a2ca76411405b3cdf13f3990873f (diff)
downloadllvm-94141a42ed5099ee228a28ce4e4b2ac97f84bb12.tar.gz
llvm-94141a42ed5099ee228a28ce4e4b2ac97f84bb12.tar.bz2
llvm-94141a42ed5099ee228a28ce4e4b2ac97f84bb12.tar.xz
Separate the check for blend shuffle_vector masks
Summary: Separate the check for blend shuffle_vector masks into isBlendMask. This function will also be used to check if a vector shuffle is legal. No change in functionality was intended, but we ended up improving codegen on two tests, which were being (more) optimized only if the resulting shuffle was legal. Reviewers: nadav, delena, andreadb Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3964 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/combine-or.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/combine-or.ll b/test/CodeGen/X86/combine-or.ll
index c1ce53334e..572aded5e9 100644
--- a/test/CodeGen/X86/combine-or.ll
+++ b/test/CodeGen/X86/combine-or.ll
@@ -25,7 +25,7 @@ define <4 x i32> @test2(<4 x i32> %a, <4 x i32> %b) {
}
; CHECK-LABEL: test2
; CHECK-NOT: xorps
-; CHECK: shufps
+; CHECK: movsd
; CHECK: ret
@@ -111,7 +111,7 @@ define <4 x i32> @test9(<4 x i32> %a, <4 x i32> %b) {
}
; CHECK-LABEL: test9
; CHECK-NOT: xorps
-; CHECK: shufps
+; CHECK: movsd
; CHECK: ret