summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/avx-vpermil.ll
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-10 01:54:17 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-08-10 01:54:17 +0000
commit155a92a4918f290e56869bec6360fd8dd6e3950d (patch)
tree9c207446f7c2b638c43d0e8a2717b3dfa674d8a2 /test/CodeGen/X86/avx-vpermil.ll
parente1686b08e4b9c570197633afc09f4fe32d664f0d (diff)
downloadllvm-155a92a4918f290e56869bec6360fd8dd6e3950d.tar.gz
llvm-155a92a4918f290e56869bec6360fd8dd6e3950d.tar.bz2
llvm-155a92a4918f290e56869bec6360fd8dd6e3950d.tar.xz
Fix a bug in vpermilps mask checking. Fix PR10560
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx-vpermil.ll')
-rw-r--r--test/CodeGen/X86/avx-vpermil.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/avx-vpermil.ll b/test/CodeGen/X86/avx-vpermil.ll
index f83a4450cf..49b2f540a2 100644
--- a/test/CodeGen/X86/avx-vpermil.ll
+++ b/test/CodeGen/X86/avx-vpermil.ll
@@ -37,3 +37,9 @@ entry:
ret <8 x float> %shuffle
}
+; CHECK-NOT: vpermilps
+define <8 x float> @funcF(<8 x float> %a) nounwind uwtable readnone ssp {
+entry:
+ %shuffle = shufflevector <8 x float> %a, <8 x float> zeroinitializer, <8 x i32> <i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9>
+ ret <8 x float> %shuffle
+}