diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll b/llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll index 211c57c63ac..7db4972e11f 100644 --- a/llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll +++ b/llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll @@ -2136,17 +2136,11 @@ define <4 x i32> @insert_reg_lo_v4i32(i64 %a, <4 x i32> %b) { ; SSE41-NEXT: pblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7] ; SSE41-NEXT: retq ; -; AVX1-LABEL: insert_reg_lo_v4i32: -; AVX1: # %bb.0: -; AVX1-NEXT: vmovq %rdi, %xmm1 -; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7] -; AVX1-NEXT: retq -; -; AVX2OR512VL-LABEL: insert_reg_lo_v4i32: -; AVX2OR512VL: # %bb.0: -; AVX2OR512VL-NEXT: vmovq %rdi, %xmm1 -; AVX2OR512VL-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3] -; AVX2OR512VL-NEXT: retq +; AVX-LABEL: insert_reg_lo_v4i32: +; AVX: # %bb.0: +; AVX-NEXT: vmovq %rdi, %xmm1 +; AVX-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7] +; AVX-NEXT: retq %a.cast = bitcast i64 %a to <2 x i32> %v = shufflevector <2 x i32> %a.cast, <2 x i32> undef, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef> %shuffle = shufflevector <4 x i32> %v, <4 x i32> %b, <4 x i32> <i32 0, i32 1, i32 6, i32 7> |

