[PATCH] D67199: [InstCombine] Expand the simplification of log()

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 15:51:56 PDT 2019


evandro created this revision.
evandro added reviewers: xbolva00, spatel, efriedma.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Expand the simplification of special cases of `log()` to include `log2()` and `log10()` as well as intrinsics and more types.


Repository:
  rL LLVM

https://reviews.llvm.org/D67199

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67199.218803.patch
Type: text/x-patch
Size: 12720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/01ce080b/attachment.bin>


More information about the llvm-commits mailing list