[PATCH] D132658: [InstCombine] Distributive or+mul with const operand

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 28 23:46:02 PDT 2022


Allen updated this revision to Diff 456262.
Allen marked 2 inline comments as done.
Allen added a comment.

a) rebase to the top as the baseline test case merged
b) update the logic of propagate nuw
c)  Still use the Buillder.CreateMul as RFC https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179


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

https://reviews.llvm.org/D132658

Files:
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/test/Transforms/InstCombine/mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132658.456262.patch
Type: text/x-patch
Size: 4738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220829/6f8af0bf/attachment.bin>


More information about the llvm-commits mailing list