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

Eric Gullufsen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 13:30:37 PDT 2022


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

Added clarifying comment in test


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.451618.patch
Type: text/x-patch
Size: 17787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220810/9be35f49/attachment.bin>


More information about the llvm-commits mailing list