[PATCH] D49306: [SLC] Simplify pow(x, 0.25) to sqrt(sqrt(x))

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 23:16:59 PDT 2018


lebedev.ri added a comment.

And the same remarks are probably applicable to https://reviews.llvm.org/D49040 and https://reviews.llvm.org/D50036 too, even though they only
extend the existing code. Canonicalizing all the `sqrt`/`cbrt`/... to just one `pow` will
make it simpler for everything else since it's just one function to be aware of, instead of three.


https://reviews.llvm.org/D49306





More information about the llvm-commits mailing list