[PATCH] D68231: [SLC] Allow llvm.pow(x,2.0) -> x*x etc even if no pow() lib func
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 12:14:00 PDT 2019
evandro added a comment.
Indeed, it seemed to be a coarse check in case the following transformations end up calling `pow()`. However, the only transformation that calls `pow()` is when shrinking to `powf()`, which itself chacks for the availability of this routine. So this patch seems to address this issue the wrong way. It seems that removing this check would be better.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68231/new/
https://reviews.llvm.org/D68231
More information about the llvm-commits
mailing list