Fix refactoring mistake in "Teach InstCombine to work with smaller legal types..."
llvm-svn: 175273
This commit is contained in:
parent
25c0510690
commit
1fd843eee7
|
@ -1347,7 +1347,7 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
|
|||
NTy);
|
||||
return new ICmpInst(ICI.getPredicate(),
|
||||
Builder->CreateTrunc(LHSI->getOperand(0), NTy),
|
||||
ConstantExpr::getTrunc(NCI, NTy));
|
||||
NCI);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue