forked from OSchip/llvm-project
				
			
							parent
							
								
									5c204c92a4
								
							
						
					
					
						commit
						b5b0c87be6
					
				| 
						 | 
				
			
			@ -287,8 +287,7 @@ bool SROA::performScalarRepl(Function &F) {
 | 
			
		|||
    const Type *VectorTy = 0;
 | 
			
		||||
    bool HadAVector = false;
 | 
			
		||||
    if (CanConvertToScalar(AI, IsNotTrivial, VectorTy, HadAVector, 
 | 
			
		||||
                           0, unsigned(AllocaSize)) && IsNotTrivial &&
 | 
			
		||||
        AllocaSize <= 128) {
 | 
			
		||||
                           0, unsigned(AllocaSize)) && IsNotTrivial) {
 | 
			
		||||
      AllocaInst *NewAI;
 | 
			
		||||
      // If we were able to find a vector type that can handle this with
 | 
			
		||||
      // insert/extract elements, and if there was at least one use that had
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue