[PATCH] D149521: [InstCombine] Add folds for `(icmp spred (ssub.sat X, Y), 0)` -> `X spred Y`

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 10:39:43 PDT 2023


goldstein.w.n created this revision.
goldstein.w.n added reviewers: nikic, spatel.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Alive2 links:

  eq: https://alive2.llvm.org/ce/z/Fv3mvc
  ne: https://alive2.llvm.org/ce/z/AEuEXU
  sle: https://alive2.llvm.org/ce/z/mfKGUS
  sge: https://alive2.llvm.org/ce/z/tX3_M4
  sgt: https://alive2.llvm.org/ce/z/x7VgnZ
  slt: https://alive2.llvm.org/ce/z/rQN4TM


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149521

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/cmp-intrinsic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149521.518198.patch
Type: text/x-patch
Size: 3850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230429/7f1df51d/attachment.bin>


More information about the llvm-commits mailing list