[all-commits] [llvm/llvm-project] 084ff0: [InstCombine] Add tests for `(icmp pred (ssub.sat ...

goldsteinn via All-commits all-commits at lists.llvm.org
Wed May 3 09:12:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 084ff0db90a6f827eeff87cfd17452ed352ea444
      https://github.com/llvm/llvm-project/commit/084ff0db90a6f827eeff87cfd17452ed352ea444
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/cmp-intrinsic.ll

  Log Message:
  -----------
  [InstCombine] Add tests for `(icmp pred (ssub.sat X, Y), 0)`; NFC

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


  Commit: 13441eb0f88f1dc7d95fa9eb2f77889ec9ad90e8
      https://github.com/llvm/llvm-project/commit/13441eb0f88f1dc7d95fa9eb2f77889ec9ad90e8
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/cmp-intrinsic.ll

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

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

Reviewed By: nikic

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


Compare: https://github.com/llvm/llvm-project/compare/3f2fbe92d0f4...13441eb0f88f


More information about the All-commits mailing list