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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 23:57:38 PDT 2020


lebedev.ri added a comment.

The patch description is only stating the previous status-quo as a fact,
but gives no reasoning as to why it should change, why it is legal/okay to change it.

Is this really sane?
Can we really invent calls to non-builtin (aka potentially user-provided/overriden) C math function?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68231





More information about the llvm-commits mailing list