From 107c578126c477ad330bb79defb10ef14eb7dad3 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 26 Jul 2013 22:06:21 +0000 Subject: Fix variable name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187253 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/InstCombine/InstCombineAddSub.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/InstCombine/InstCombineAddSub.cpp b/lib/Transforms/InstCombine/InstCombineAddSub.cpp index 8d4677b..1fa6897 100644 --- a/lib/Transforms/InstCombine/InstCombineAddSub.cpp +++ b/lib/Transforms/InstCombine/InstCombineAddSub.cpp @@ -1539,8 +1539,8 @@ Instruction *InstCombiner::visitFSub(BinaryOperator &I) { } } else if (FPExtInst *FPEI = dyn_cast(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); } } -- cgit v1.1