[llvm] r258445 - avoid variable shadowing; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 14:41:16 PST 2016
Author: spatel
Date: Thu Jan 21 16:41:16 2016
New Revision: 258445
URL: http://llvm.org/viewvc/llvm-project?rev=258445&view=rev
Log:
avoid variable shadowing; NFC
Modified:
llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp?rev=258445&r1=258444&r2=258445&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Thu Jan 21 16:41:16 2016
@@ -1255,10 +1255,10 @@ Value *LibCallSimplifier::optimizeExp2(C
One = ConstantExpr::getFPExtend(One, Op->getType());
Module *M = CI->getModule();
- Value *Callee =
+ Value *NewCallee =
M->getOrInsertFunction(TLI->getName(LdExp), Op->getType(),
Op->getType(), B.getInt32Ty(), nullptr);
- CallInst *CI = B.CreateCall(Callee, {One, LdExpArg});
+ CallInst *CI = B.CreateCall(NewCallee, {One, LdExpArg});
if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts()))
CI->setCallingConv(F->getCallingConv());
More information about the llvm-commits
mailing list