[PATCH] D51195: [InstCombine] Expand the simplification of pow() with nested exp{, 2}()

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 23 16:08:22 PDT 2018


evandro created this revision.
evandro added reviewers: spatel, efriedma.
Herald added subscribers: llvm-commits, hiraditya.

Expand the simplification of `pow(exp{,2}(x), y)` to all FP types.

This improvement helps some benchmarks in SPEC CPU2000 and CPU2006, such as 252.eon, 447.dealII, 453.povray.  Otherwise, no significant regressions on x86-64 or A64.


Repository:
  rL LLVM

https://reviews.llvm.org/D51195

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51195.162293.patch
Type: text/x-patch
Size: 7574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180823/cb95c2da/attachment.bin>


More information about the llvm-commits mailing list