[PATCH] D157290: [InstCombine] Fold (-a >> b) and/or/xor (~a >> b) into (-a and/or/xor ~a) >> b

Maksim Kita via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 12 08:07:02 PDT 2023


kitaisreal updated this revision to Diff 549613.
kitaisreal retitled this revision from "[InstCombine] Fold (-a >> b) and/or (~a >> b) into (-a and/or ~a) >> b" to "[InstCombine] Fold (-a >> b) and/or/xor (~a >> b) into (-a and/or/xor ~a) >> b".
kitaisreal edited the summary of this revision.
kitaisreal added a comment.

Updated implementation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157290

Files:
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/binop-and-shifts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157290.549613.patch
Type: text/x-patch
Size: 11168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230812/b3fc2cdc/attachment.bin>


More information about the llvm-commits mailing list