This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by evandro on Aug 23 2018, 4:08 PM.



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 Timeline

evandro created this revision.Aug 23 2018, 4:08 PM
spatel accepted this revision.Aug 28 2018, 1:43 PM


This revision is now accepted and ready to land.Aug 28 2018, 1:43 PM
This revision was automatically updated to reflect the committed changes.