[PATCH] D128591: Transforms: refactor pow(x, n) expansion where n is a constant integer value

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 06:36:52 PDT 2022


david-arm added a comment.

Hi @eaeltsin, it's also worth bearing in mind that we were already doing this optimisation (replacing pow with multiplies) before this patch landed if the user was building with -Ofast. This patch simply extends that behaviour for a different set of fast math flags.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128591



More information about the llvm-commits mailing list