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.
Paths
| Differential D51195
[InstCombine] Expand the simplification of pow() with nested exp{,2}() ClosedPublic Authored by evandro on Aug 23 2018, 4:08 PM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 28 2018, 1:43 PM Closed by commit rL340948: [InstCombine] Expand the simplification of pow() with nested exp{,2}() (authored by evandro). · Explain WhyAug 29 2018, 11:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 163142 llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/trunk/test/Transforms/InstCombine/pow-exp.ll
|