]> granicus.if.org Git - llvm/commit
[InstCombine] Expand the simplification of log()
authorEvandro Menezes <e.menezes@samsung.com>
Mon, 30 Sep 2019 20:52:21 +0000 (20:52 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Mon, 30 Sep 2019 20:52:21 +0000 (20:52 +0000)
commitf1a7cbf1cb3e514feee751e9dcfd8a3e073990da
tree94915a98f8b2fd1c218ebb95c71b8da00d7dc732
parenta1de1d89507b9abe398bd6cfbd2261c08d8c6092
[InstCombine] Expand the simplification of log()

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

Differential revision: https://reviews.llvm.org/D67199

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373261 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/log-pow.ll