[PATCH] D145341: [InstCombine] Add transform `(icmp pred (shl {nsw and/or nuw} X, Y), C)` -> `(icmp pred X, C)`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 11:01:30 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG73ce343125c5: [InstCombine] Add transform `(icmp pred (shl {nsw and/or nuw} X, Y), C)` -> `… (authored by goldstein.w.n).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145341

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-shl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145341.528515.patch
Type: text/x-patch
Size: 5386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230605/55c98c6d/attachment-0001.bin>


More information about the llvm-commits mailing list