[PATCH] D49273: [InstCombine] Expand the simplification of pow() into exp2()
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 30 08:30:21 PDT 2018
evandro added a subscriber: rnk.
evandro added inline comments.
================
Comment at: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp:1258
+ else
+ return emitUnaryFloatFnCall(FMul, TLI->getName(LibFunc_exp2), B, Attrs);
}
----------------
a.elovikov wrote:
> Why don't we guard it with hasUnaryFloatFn similar to line 1264?
I was thinking if this was the reason why this patch was reverted in rL340991. Will investigate it, thank you.
Repository:
rL LLVM
https://reviews.llvm.org/D49273
More information about the llvm-commits
mailing list