[PATCH] D131142: [InstCombine] Canonicalize "and, add", "or, add", "xor, add"

Eric Gullufsen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 19:09:23 PDT 2022


emgullufsen updated this revision to Diff 450462.
emgullufsen added a comment.

Update on top of new negative multiple use tests in and-xor-or.ll


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131142

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/and-xor-or.ll
  llvm/test/Transforms/InstCombine/integer-round-up-pow2-alignment.ll
  llvm/test/Transforms/InstCombine/or.ll
  llvm/test/Transforms/InstCombine/sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131142.450462.patch
Type: text/x-patch
Size: 15694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220806/8ff85e07/attachment-0001.bin>


More information about the llvm-commits mailing list