[PATCH] D64099: [InstCombine] pow(C,x) -> exp2(log2(C)*x)
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 15:05:33 PDT 2019
xbolva00 updated this revision to Diff 207637.
xbolva00 retitled this revision from "[InstCombine] pow(C,x) -> exp(log(C)*x)" to "[InstCombine] pow(C,x) -> exp2(log2(C)*x)".
xbolva00 edited the summary of this revision.
xbolva00 added a comment.
Switched to exp2.
Addressed some review comments.
Added pow(10, e) test.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64099/new/
https://reviews.llvm.org/D64099
Files:
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-exp.ll
test/Transforms/InstCombine/pow_fp_int.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64099.207637.patch
Type: text/x-patch
Size: 24373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190702/4c0d8c39/attachment.bin>
More information about the llvm-commits
mailing list