[llvm] r187253 - Fix variable name.
Owen Anderson
resistor at mac.com
Fri Jul 26 15:06:21 PDT 2013
Author: resistor
Date: Fri Jul 26 17:06:21 2013
New Revision: 187253
URL: http://llvm.org/viewvc/llvm-project?rev=187253&view=rev
Log:
Fix variable name.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp?rev=187253&r1=187252&r2=187253&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp Fri Jul 26 17:06:21 2013
@@ -1539,8 +1539,8 @@ Instruction *InstCombiner::visitFSub(Bin
}
} 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);
}
}
More information about the llvm-commits
mailing list