[PATCH] D41940: [InstCombine] Missed optimization in math expression: log10(pow(10.0, x)) == x, log2(pow(2.0, x)) == x

Dmitry Venikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 06:10:45 PST 2018


Quolyk updated this revision to Diff 135632.

https://reviews.llvm.org/D41940

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Transforms/InstSimplify/log10-pow10-intrinsic.ll
  test/Transforms/InstSimplify/log2-pow2-intrinsic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41940.135632.patch
Type: text/x-patch
Size: 4836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180223/0d8ca692/attachment-0001.bin>


More information about the llvm-commits mailing list