summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2018-10-19 20:57:45 +0000
committerEvandro Menezes <e.menezes@samsung.com>2018-10-19 20:57:45 +0000
commit164ea101ab4be8a9405b2ee658d5a66c56f05e8b (patch)
tree51a34180c612c43287bb29c85a7ad6b80f090c73 /llvm/lib/Transforms/Utils
parent5ed1099962ec37b66cf19d128f3134ff44543991 (diff)
downloadbcm5719-llvm-164ea101ab4be8a9405b2ee658d5a66c56f05e8b.tar.gz
bcm5719-llvm-164ea101ab4be8a9405b2ee658d5a66c56f05e8b.zip
[NFC][InstCombine] Undo stray change
Undo stray change introduced by r344725. llvm-svn: 344814
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp b/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
index 63229bf0399..a50575b0256 100644
--- a/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
@@ -1227,14 +1227,14 @@ Value *LibCallSimplifier::replacePowWithExp(CallInst *Pow, IRBuilder<> &B) {
default:
return nullptr;
case LibFunc_expf: case LibFunc_exp: case LibFunc_expl:
- ExpName = "exp";
+ ExpName = TLI->getName(LibFunc_exp);
ID = Intrinsic::exp;
LibFnFloat = LibFunc_expf;
LibFnDouble = LibFunc_exp;
LibFnLongDouble = LibFunc_expl;
break;
case LibFunc_exp2f: case LibFunc_exp2: case LibFunc_exp2l:
- ExpName = "exp2";
+ ExpName = TLI->getName(LibFunc_exp2);
ID = Intrinsic::exp2;
LibFnFloat = LibFunc_exp2f;
LibFnDouble = LibFunc_exp2;
OpenPOWER on IntegriCloud