summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vector-shuffle-avx512.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/vector-shuffle-avx512.ll')
-rw-r--r--llvm/test/CodeGen/X86/vector-shuffle-avx512.ll10
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/vector-shuffle-avx512.ll b/llvm/test/CodeGen/X86/vector-shuffle-avx512.ll
index e00e376549d..ee0af90d093 100644
--- a/llvm/test/CodeGen/X86/vector-shuffle-avx512.ll
+++ b/llvm/test/CodeGen/X86/vector-shuffle-avx512.ll
@@ -541,8 +541,9 @@ define <8 x float> @expand14(<4 x float> %a) {
define <8 x float> @expand15(<4 x float> %a) {
; SKX64-LABEL: expand15:
; SKX64: # %bb.0:
-; SKX64-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[0,1,1,3]
-; SKX64-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,0,1,3]
+; SKX64-NEXT: # kill: def $xmm0 killed $xmm0 def $ymm0
+; SKX64-NEXT: vmovaps {{.*#+}} ymm1 = <0,1,0,1,1,3,u,u>
+; SKX64-NEXT: vpermps %ymm0, %ymm1, %ymm0
; SKX64-NEXT: vblendps {{.*#+}} ymm0 = mem[0,1],ymm0[2],mem[3],ymm0[4],mem[5,6,7]
; SKX64-NEXT: retq
;
@@ -555,8 +556,9 @@ define <8 x float> @expand15(<4 x float> %a) {
;
; SKX32-LABEL: expand15:
; SKX32: # %bb.0:
-; SKX32-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[0,1,1,3]
-; SKX32-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,0,1,3]
+; SKX32-NEXT: # kill: def $xmm0 killed $xmm0 def $ymm0
+; SKX32-NEXT: vmovaps {{.*#+}} ymm1 = <0,1,0,1,1,3,u,u>
+; SKX32-NEXT: vpermps %ymm0, %ymm1, %ymm0
; SKX32-NEXT: vblendps {{.*#+}} ymm0 = mem[0,1],ymm0[2],mem[3],ymm0[4],mem[5,6,7]
; SKX32-NEXT: retl
;
OpenPOWER on IntegriCloud