[PATCH] D65979: [InstCombine] Simplify pow() into ldexp()

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 09:50:26 PDT 2019


evandro marked an inline comment as done.
evandro added a comment.

Since `exp2(itofp(x)` is similarly simplified into `ldexp(1.0, x)` without accounting for any relaxation, methinks that this simplification should be fine too.  Will note this.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65979/new/

https://reviews.llvm.org/D65979





More information about the llvm-commits mailing list