[PATCH] D49273: [SLC] Refactor the simplifications involving pow() and exp{, 2, 10}()

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 13:55:30 PDT 2018


evandro updated this revision to Diff 155480.
evandro added a comment.

Also consider cases in `pow(2.0 ** n, y)`  where `n` is negative.


https://reviews.llvm.org/D49273

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49273.155480.patch
Type: text/x-patch
Size: 9790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180713/80a0c6fc/attachment.bin>


More information about the llvm-commits mailing list