[PATCH] D102574: [InstCombine] Missed optimization for pow(x, y) * pow(x, z) with fast-math

Daniil Seredkin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 10:20:12 PDT 2021


vdsered updated this revision to Diff 349008.
vdsered edited the summary of this revision.
vdsered added a comment.

1. Replace hasOneUse + equality of operands with isOnlyUserOfAnyOperand
2. FMF are added to produced fadd
3. Added negative tests


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102574/new/

https://reviews.llvm.org/D102574

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102574.349008.patch
Type: text/x-patch
Size: 5890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210601/009f3549/attachment.bin>


More information about the llvm-commits mailing list