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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 03:10:27 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe737847b8fc3: [SLC] Allow llvm.pow(x,2.0) -> x*x etc even if no pow() lib func (authored by foad).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68231

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/pow-1.ll
  llvm/test/Transforms/InstCombine/pow-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68231.261769.patch
Type: text/x-patch
Size: 12750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200504/474bf404/attachment.bin>


More information about the llvm-commits mailing list