Fix variable name.

llvm-svn: 187253
This commit is contained in:
Owen Anderson 2013-07-26 22:06:21 +00:00
parent 0de85fc511
commit e7a1434407

View File

@ -1539,8 +1539,8 @@ Instruction *InstCombiner::visitFSub(BinaryOperator &I) {
}
} else if (FPExtInst *FPEI = dyn_cast<FPExtInst>(Op1)) {
if (Value *V = dyn_castFNegVal(FPEI->getOperand(0))) {
Value *NewTrunc = Builder->CreateFPExt(V, I.getType());
return BinaryOperator::CreateFAdd(Op0, NewTrunc);
Value *NewExt = Builder->CreateFPExt(V, I.getType());
return BinaryOperator::CreateFAdd(Op0, NewExt);
}
}