[all-commits] [llvm/llvm-project] 394c68: [InstCombine] sub(add(X, Y), umin(Y, Z)) --> add(X, us...

ZCBing via All-commits all-commits at lists.llvm.org
Sat May 7 02:20:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 394c683d4063119086f91bbfbbd514a4ace31683
      https://github.com/llvm/llvm-project/commit/394c683d4063119086f91bbfbbd514a4ace31683
  Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
  Date:   2022-05-07 (Sat, 07 May 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/sub-minmax.ll

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

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

Reviewed By: RKSimon, spatel

Differential Revision: https://reviews.llvm.org/D124503




More information about the All-commits mailing list