[PATCH] D57434: Optimize pow(X, 0.75) to sqrt(X) * sqrt(sqrt(X))

Whitney via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 30 13:08:33 PST 2019


Whitney added a comment.

@fhahn We have also consider adding to SimplifyLibCalls.cpp. Since pow(X, 0.25) was proposed as an IR transform in D49306 <https://reviews.llvm.org/D49306>, but it was not clearly justifiable as a canonicalization, and pow(X, 0.25) is implemented in DAGCombiner, we decided that it would be best to put pow(X, 0.75) in DAGCombiner as well.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D57434





More information about the llvm-commits mailing list