[PATCH] D145157: [InstCombine] Implement "A & (~A | B) --> A & B" like transform for boolean vectors.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 05:10:00 PST 2023


paulwalker-arm updated this revision to Diff 502106.
paulwalker-arm added a comment.

Add matching combine for "A | (~A & B) --> A | B".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145157

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/logical-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145157.502106.patch
Type: text/x-patch
Size: 5354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230303/e7711c3a/attachment.bin>


More information about the llvm-commits mailing list