forked from OSchip/llvm-project
				
			llvm-svn: 47615
This commit is contained in:
		
							parent
							
								
									85e38bfb2e
								
							
						
					
					
						commit
						aa2617206f
					
				| 
						 | 
					@ -991,7 +991,7 @@ bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
 | 
				
			||||||
    return false;
 | 
					    return false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Only do this xform if truncating is free.
 | 
					  // Only do this xform if truncating is free.
 | 
				
			||||||
  if (!TLI->isTruncateFree(I->getType(), Src->getType()))
 | 
					  if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType()))
 | 
				
			||||||
    return false;
 | 
					    return false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Only safe to perform the optimization if the source is also defined in
 | 
					  // Only safe to perform the optimization if the source is also defined in
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue