[PATCH] D124119: [InstCombine] Combine instructions of type or/and where AND masks can be combined.

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 07:43:47 PDT 2022


bipmis updated this revision to Diff 424477.
bipmis edited the summary of this revision.
bipmis added a comment.

Thanks. Adding additional test for showing the other commute scenario. Also re-patching with the tests committed and comments incorporated.
Alive link for showing the transform is https://alive2.llvm.org/ce/z/XeMdDp


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

https://reviews.llvm.org/D124119

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/and-or.ll
  llvm/test/Transforms/InstCombine/or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124119.424477.patch
Type: text/x-patch
Size: 5398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220422/4594f33f/attachment.bin>


More information about the llvm-commits mailing list