summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/avx2-vperm.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-09-19 04:39:55 +0000
committerCraig Topper <craig.topper@intel.com>2017-09-19 04:39:55 +0000
commita80949feb5d8081d6a7bde475cb143aca5a5da21 (patch)
treeb7103b3d82acfd7a4ae8a564d6589400717d8fd5 /llvm/test/CodeGen/X86/avx2-vperm.ll
parent8852087517ec8c72f4748438d920421c44fbd690 (diff)
downloadbcm5719-llvm-a80949feb5d8081d6a7bde475cb143aca5a5da21.tar.gz
bcm5719-llvm-a80949feb5d8081d6a7bde475cb143aca5a5da21.zip
[X86] Add VPERMPD/VPERMQ and VPERMPS/VPERMD to the execution domain fixing table.
llvm-svn: 313610
Diffstat (limited to 'llvm/test/CodeGen/X86/avx2-vperm.ll')
-rw-r--r--llvm/test/CodeGen/X86/avx2-vperm.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/avx2-vperm.ll b/llvm/test/CodeGen/X86/avx2-vperm.ll
index d57daafab24..c88d67119bb 100644
--- a/llvm/test/CodeGen/X86/avx2-vperm.ll
+++ b/llvm/test/CodeGen/X86/avx2-vperm.ll
@@ -5,14 +5,14 @@
define <8 x i32> @perm_cl_int_8x32(<8 x i32> %A) nounwind readnone {
; X32-LABEL: perm_cl_int_8x32:
; X32: # BB#0: # %entry
-; X32-NEXT: vmovdqa {{.*#+}} ymm1 = [0,7,2,1,2,7,6,0]
-; X32-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; X32-NEXT: vmovaps {{.*#+}} ymm1 = [0,7,2,1,2,7,6,0]
+; X32-NEXT: vpermps %ymm0, %ymm1, %ymm0
; X32-NEXT: retl
;
; X64-LABEL: perm_cl_int_8x32:
; X64: # BB#0: # %entry
-; X64-NEXT: vmovdqa {{.*#+}} ymm1 = [0,7,2,1,2,7,6,0]
-; X64-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; X64-NEXT: vmovaps {{.*#+}} ymm1 = [0,7,2,1,2,7,6,0]
+; X64-NEXT: vpermps %ymm0, %ymm1, %ymm0
; X64-NEXT: retq
entry:
%B = shufflevector <8 x i32> %A, <8 x i32> undef, <8 x i32> <i32 0, i32 7, i32 2, i32 1, i32 2, i32 7, i32 6, i32 0>
@@ -40,12 +40,12 @@ entry:
define <4 x i64> @perm_cl_int_4x64(<4 x i64> %A) nounwind readnone {
; X32-LABEL: perm_cl_int_4x64:
; X32: # BB#0: # %entry
-; X32-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,3,2,1]
+; X32-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,1]
; X32-NEXT: retl
;
; X64-LABEL: perm_cl_int_4x64:
; X64: # BB#0: # %entry
-; X64-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,3,2,1]
+; X64-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,1]
; X64-NEXT: retq
entry:
%B = shufflevector <4 x i64> %A, <4 x i64> undef, <4 x i32> <i32 0, i32 3, i32 2, i32 1>
OpenPOWER on IntegriCloud