[PATCH] D63038: [SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 00:47:02 PDT 2019


nikic added a comment.

Can you please provide some more information under which circumstances `powf(x, (int) y)` will provide a different result than `powi(x, y)`, and which fast-math flags specifically are necessary to make that transform legal?


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

https://reviews.llvm.org/D63038





More information about the llvm-commits mailing list