commit | 8969d63f179c6d0ddfc3ff4820ad5d8080754022 | [log] [tgz] |
---|---|---|
author | Evandro Menezes <e.menezes@samsung.com> | Thu Aug 30 19:04:51 2018 +0000 |
committer | Evandro Menezes <e.menezes@samsung.com> | Thu Aug 30 19:04:51 2018 +0000 |
tree | 4aca88168700a280dcb14c3449994bfd99ac61fe | |
parent | 4a777e245da2e2dc748a94ba388cf01f9d1400ee [diff] |
[InstCombine] Expand the simplification of pow() into exp2() Generalize the simplification of `pow(2.0, y)` to `pow(2.0 ** n, y)` for all scalar and vector 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. Differential revision: https://reviews.llvm.org/D49273 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341095 91177308-0d34-0410-b5e6-96231b3b80d8