[llvm] r344814 - [NFC][InstCombine] Undo stray change

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 19 13:57:46 PDT 2018


Author: evandro
Date: Fri Oct 19 13:57:45 2018
New Revision: 344814

URL: http://llvm.org/viewvc/llvm-project?rev=344814&view=rev
Log:
[NFC][InstCombine] Undo stray change

Undo stray change introduced by r344725.

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=344814&r1=344813&r2=344814&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Fri Oct 19 13:57:45 2018
@@ -1227,14 +1227,14 @@ Value *LibCallSimplifier::replacePowWith
       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;




More information about the llvm-commits mailing list