[PATCH] D124503: [InstCombine] sub(add(X,Y),umin(Y,Z)) --> add(X,usub.sat(Y,Z))

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 23:29:17 PDT 2022


Chenbing.Zheng created this revision.
Chenbing.Zheng added reviewers: RKSimon, spatel, nikic, lebedev.ri, benshi001.
Chenbing.Zheng added a project: LLVM.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Chenbing.Zheng requested review of this revision.
Herald added subscribers: llvm-commits, jacquesguan.

This patch deal with TODO left in D123399 <https://reviews.llvm.org/D123399>.

Alive2: https://alive2.llvm.org/ce/z/2UNVbp


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124503

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/test/Transforms/InstCombine/sub-minmax.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124503.425418.patch
Type: text/x-patch
Size: 3401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220427/ec8c36e7/attachment.bin>


More information about the llvm-commits mailing list