[PATCH] D145426: [InstCombine] Add transforms `(icmp spred (and X, Y), X)` if `X` or `Y` are known signed/unsigned
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 18:31:36 PDT 2023
goldstein.w.n updated this revision to Diff 555231.
goldstein.w.n added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145426/new/
https://reviews.llvm.org/D145426
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll
llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll
llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll
llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll
llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145426.555231.patch
Type: text/x-patch
Size: 9521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/efc2e4b6/attachment.bin>
More information about the llvm-commits
mailing list