[PATCH] D49273: [SLC] Expand the simplification of pow({e, 2}, y) to exp{, 2}(y)

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 9 15:02:58 PDT 2018


evandro updated this revision to Diff 160018.
evandro retitled this revision from "[SLC] Expand the simplification of pow({e,2,10}, y) to exp{,2,10}(y)" to "[SLC] Expand the simplification of pow({e,2}, y) to exp{,2}(y)".
evandro edited the summary of this revision.
evandro added a comment.

Remove additional simplification when `exp10()` is the base in `pow()`, since it's not enabled by many targets.


https://reviews.llvm.org/D49273

Files:
  llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/pow-1.ll
  llvm/test/Transforms/InstCombine/pow-exp.ll
  llvm/test/Transforms/InstCombine/pow-sqrt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49273.160018.patch
Type: text/x-patch
Size: 12262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180809/3bbce148/attachment.bin>


More information about the llvm-commits mailing list