[PATCH] D68231: [SLC] Allow llvm.pow(x,2.0) -> x*x etc even if no pow() lib func

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 16:40:16 PDT 2019


efriedma added a comment.

I don't understand what the check is supposed to be doing in the first place.  If we're in LibCallSimplifier::optimizePow, we've already checked that the call is actually calling a function with the right semantics, not just the name.


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