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

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 00:04:17 PDT 2022


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

1、add a vector case
2、keep nuw flag
3、update with haveNoCommonBitsSet(X, C1 <https://reviews.llvm.org/C1>, DL, &AC, &I, &DT)


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.455810.patch
Type: text/x-patch
Size: 3709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220826/c8a4a0ca/attachment.bin>


More information about the llvm-commits mailing list