Fix refactoring mistake in "Teach InstCombine to work with smaller legal types..."

llvm-svn: 175273
This commit is contained in:
Arnaud A. de Grandmaison 2013-02-15 15:18:17 +00:00
parent 25c0510690
commit 1fd843eee7
1 changed files with 1 additions and 1 deletions

View File

@ -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;