[PATCH] D152568: [InstCombine] Transform `(bitwise1 (bitwise2 (lshift1 X, C), C1), (lshift2 Y, C))`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 10 01:08:09 PDT 2023


goldstein.w.n updated this revision to Diff 530182.
goldstein.w.n added a comment.

Dramatically increase cases covered


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152568

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/binop-and-shifts.ll
  llvm/test/Transforms/InstCombine/or-shifted-masks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152568.530182.patch
Type: text/x-patch
Size: 21271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/042ba09a/attachment.bin>


More information about the llvm-commits mailing list