A better fix for my previous patch, MOVZQI2PQIrr just requires SSE2.
llvm-svn: 49986
This commit is contained in:
		
							parent
							
								
									a124f1e219
								
							
						
					
					
						commit
						470ab00c76
					
				| 
						 | 
					@ -2312,7 +2312,7 @@ def : Pat<(v2f64 (vector_shuffle immAllZerosV_bc,
 | 
				
			||||||
                                  (v2f64 (scalar_to_vector 
 | 
					                                  (v2f64 (scalar_to_vector 
 | 
				
			||||||
                                       (f64 (bitconvert GR64:$src)))),
 | 
					                                       (f64 (bitconvert GR64:$src)))),
 | 
				
			||||||
                                  MOVL_shuffle_mask)),
 | 
					                                  MOVL_shuffle_mask)),
 | 
				
			||||||
          (MOVZQI2PQIrr GR64:$src)>, Requires<[HasSSE3]>;
 | 
					          (MOVZQI2PQIrr GR64:$src)>, Requires<[HasSSE2]>;
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
 | 
					
 | 
				
			||||||
let AddedComplexity = 20 in {
 | 
					let AddedComplexity = 20 in {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse3 | grep {movd.*%rdi, %xmm0}
 | 
					; RUN: llvm-as < %s | llc -march=x86-64 | grep {movd.*%rdi, %xmm0}
 | 
				
			||||||
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse3 | not grep xor
 | 
					; RUN: llvm-as < %s | llc -march=x86-64 | not grep xor
 | 
				
			||||||
; PR2108
 | 
					; PR2108
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define <2 x i64> @doload64(i64 %x) nounwind  {
 | 
					define <2 x i64> @doload64(i64 %x) nounwind  {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue