[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
Mon Aug 14 08:08:39 PDT 2023


kitaisreal updated this revision to Diff 549950.
kitaisreal added a comment.

Updated tests.


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.549950.patch
Type: text/x-patch
Size: 13223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/7882ad0c/attachment.bin>


More information about the llvm-commits mailing list