[AVX512] Remove patterns for (v8f32 (X86vzmovl (insert_subvector undef, (v4f32 (scalar_to_vector FR32X:)), (iPTR 0)))) and the same for v4f64.
We don't have this same pattern for AVX2 so I don't believe we should have it for AVX512. We also didn't have it for v16f32. llvm-svn: 312543
This commit is contained in:
		
							parent
							
								
									e916d54614
								
							
						
					
					
						commit
						33caeadd90
					
				| 
						 | 
				
			
			@ -4693,14 +4693,6 @@ let Predicates = [HasAVX512] in {
 | 
			
		|||
  def : Pat<(v8f64 (X86vzload addr:$src)),
 | 
			
		||||
            (SUBREG_TO_REG (i32 0), (VMOVSDZrm addr:$src), sub_xmm)>;
 | 
			
		||||
  }
 | 
			
		||||
  def : Pat<(v8f32 (X86vzmovl (insert_subvector undef,
 | 
			
		||||
                   (v4f32 (scalar_to_vector FR32X:$src)), (iPTR 0)))),
 | 
			
		||||
            (SUBREG_TO_REG (i32 0), (v4f32 (VMOVSSZrr (v4f32 (AVX512_128_SET0)),
 | 
			
		||||
                                            FR32X:$src)), sub_xmm)>;
 | 
			
		||||
  def : Pat<(v4f64 (X86vzmovl (insert_subvector undef,
 | 
			
		||||
                   (v2f64 (scalar_to_vector FR64X:$src)), (iPTR 0)))),
 | 
			
		||||
            (SUBREG_TO_REG (i64 0), (v2f64 (VMOVSDZrr (v2f64 (AVX512_128_SET0)),
 | 
			
		||||
                                     FR64X:$src)), sub_xmm)>;
 | 
			
		||||
  def : Pat<(v4i64 (X86vzmovl (insert_subvector undef,
 | 
			
		||||
                   (v2i64 (scalar_to_vector (loadi64 addr:$src))), (iPTR 0)))),
 | 
			
		||||
            (SUBREG_TO_REG (i64 0), (VMOVQI2PQIZrm addr:$src), sub_xmm)>;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1277,6 +1277,7 @@ define <4 x double> @insert_reg_and_zero_v4f64(double %a) {
 | 
			
		|||
;
 | 
			
		||||
; AVX512VL-LABEL: insert_reg_and_zero_v4f64:
 | 
			
		||||
; AVX512VL:       # BB#0:
 | 
			
		||||
; AVX512VL-NEXT:    # kill: %XMM0<def> %XMM0<kill> %YMM0<def>
 | 
			
		||||
; AVX512VL-NEXT:    vpxor %xmm1, %xmm1, %xmm1
 | 
			
		||||
; AVX512VL-NEXT:    vmovsd {{.*#+}} xmm0 = xmm0[0],xmm1[1]
 | 
			
		||||
; AVX512VL-NEXT:    retq
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue