[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 11:35:59 PDT 2023


kitaisreal updated this revision to Diff 549642.
kitaisreal marked 4 inline comments as done.
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.549642.patch
Type: text/x-patch
Size: 12638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230812/fa8753f5/attachment.bin>


More information about the llvm-commits mailing list