diff options
| author | Evandro Menezes <e.menezes@samsung.com> | 2018-08-30 19:04:51 +0000 |
|---|---|---|
| committer | Evandro Menezes <e.menezes@samsung.com> | 2018-08-30 19:04:51 +0000 |
| commit | 2123ea7d5c722e98ce0f047c8baa3fb3db23e6b3 (patch) | |
| tree | c93e4b2f1371be6daca0e61f94a12ad710487349 /clang/utils/TableGen/ClangAttrEmitter.cpp | |
| parent | 94d3e4dd77f253d728432ce0341f2f3e49a47c05 (diff) | |
| download | bcm5719-llvm-2123ea7d5c722e98ce0f047c8baa3fb3db23e6b3.tar.gz bcm5719-llvm-2123ea7d5c722e98ce0f047c8baa3fb3db23e6b3.zip | |
[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
llvm-svn: 341095
Diffstat (limited to 'clang/utils/TableGen/ClangAttrEmitter.cpp')
0 files changed, 0 insertions, 0 deletions

