[PATCH] D41608: [WIP][InstCombine] Missed optimization in math expression: aggressive optimization with pow

Dmitry Venikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 27 23:30:04 PST 2017


Quolyk created this revision.
Quolyk added reviewers: hfinkel, spatel, davide.

Motivation: https://bugs.llvm.org/show_bug.cgi?id=35595. pow(a, x) * a * a * a * a -> pow(a, x+4) is not yet implemented.


https://reviews.llvm.org/D41608

Files:
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  test/Transforms/InstCombine/fmul-pow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41608.128266.patch
Type: text/x-patch
Size: 5162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171228/7b851946/attachment.bin>


More information about the llvm-commits mailing list