diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-04-06 07:45:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-04-06 07:45:23 +0000 |
commit | 9a2b6e1d7b26069fca0cac7766fbe1b29d710f23 (patch) | |
tree | 33b56aeef410706b5a52d52e5e387de015a2f294 /test/CodeGen/X86 | |
parent | e45cddfa08992ccac052b344f52c92d66e4797ea (diff) | |
download | external_llvm-9a2b6e1d7b26069fca0cac7766fbe1b29d710f23.zip external_llvm-9a2b6e1d7b26069fca0cac7766fbe1b29d710f23.tar.gz external_llvm-9a2b6e1d7b26069fca0cac7766fbe1b29d710f23.tar.bz2 |
Allow 256-bit shuffles to be split if a 128-bit lane contains elements from a single source. This is a rewrite of the 256-bit shuffle splitting code based on similar code from legalize types. Fixes PR12413.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/avx-vpermil.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avx-vpermil.ll b/test/CodeGen/X86/avx-vpermil.ll index 9707cd9..cb904b9 100644 --- a/test/CodeGen/X86/avx-vpermil.ll +++ b/test/CodeGen/X86/avx-vpermil.ll @@ -45,7 +45,8 @@ entry: ret <8 x float> %shuffle } -; CHECK: vpermilps +; CHECK: palignr +; CHECK: palignr 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> |