diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-05-03 07:12:59 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-05-03 07:12:59 +0000 |
commit | 6b28d356c56d656e8e4d23c71de80162bb2eba5e (patch) | |
tree | de4e753e474ece575a7da13fb040fe4bc7811a4f /test/CodeGen/X86/avx2-shuffle.ll | |
parent | d99d68bcee8ce91a18c397756c702363e030fd83 (diff) | |
download | external_llvm-6b28d356c56d656e8e4d23c71de80162bb2eba5e.zip external_llvm-6b28d356c56d656e8e4d23c71de80162bb2eba5e.tar.gz external_llvm-6b28d356c56d656e8e4d23c71de80162bb2eba5e.tar.bz2 |
Fix 256-bit vpshuflw and vpshufhw immediate encoding to handle undefs in the lower half correctly. Missed in r155982.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx2-shuffle.ll')
-rw-r--r-- | test/CodeGen/X86/avx2-shuffle.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avx2-shuffle.ll b/test/CodeGen/X86/avx2-shuffle.ll index bb9f460..c5899fa 100644 --- a/test/CodeGen/X86/avx2-shuffle.ll +++ b/test/CodeGen/X86/avx2-shuffle.ll @@ -23,6 +23,6 @@ entry: ; CHECK: vpshuflw $27, %ymm define <16 x i16> @vpshuflw(<16 x i16> %src1) nounwind uwtable readnone ssp { entry: - %shuffle.i = shufflevector <16 x i16> %src1, <16 x i16> %src1, <16 x i32> <i32 3, i32 2, i32 1, i32 0, i32 4, i32 5, i32 6, i32 7, i32 11, i32 10, i32 9, i32 8, i32 12, i32 13, i32 14, i32 15> + %shuffle.i = shufflevector <16 x i16> %src1, <16 x i16> %src1, <16 x i32> <i32 3, i32 undef, i32 1, i32 0, i32 4, i32 5, i32 6, i32 7, i32 11, i32 10, i32 9, i32 8, i32 12, i32 13, i32 14, i32 15> ret <16 x i16> %shuffle.i } |