[all-commits] [llvm/llvm-project] 149a69: [InstCombine] Pre-commit test for D158915

Qi Hu via All-commits all-commits at lists.llvm.org
Thu Sep 7 07:19:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 149a698589900a41ac21354b6400ca0e8d214cbf
      https://github.com/llvm/llvm-project/commit/149a698589900a41ac21354b6400ca0e8d214cbf
  Author: Qi Hu <qi.hu at huawei.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    A llvm/test/Transforms/InstCombine/fold-minmax-i1.ll

  Log Message:
  -----------
  [InstCombine] Pre-commit test for D158915

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


  Commit: 1a65cd3fcf5828ecd36fd336de7689ff7a0218a4
      https://github.com/llvm/llvm-project/commit/1a65cd3fcf5828ecd36fd336de7689ff7a0218a4
  Author: Qi Hu <qi.hu at huawei.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/fold-minmax-i1.ll

  Log Message:
  -----------
  [InstCombine] Optimize implementations of min/max for bool

umin.i1 -> and : https://alive2.llvm.org/ce/z/6FNH6k
smin.i1 -> or : https://alive2.llvm.org/ce/z/h96S6o
umax.i1 -> or : https://alive2.llvm.org/ce/z/XHdeVk
smax.i1 -> and : https://alive2.llvm.org/ce/z/fkxKJx
umin.v4i1 -> and : https://alive2.llvm.org/ce/z/yV4VgP
smin.v4i1 -> or : https://alive2.llvm.org/ce/z/e9TF68
umax.v4i1 -> or : https://alive2.llvm.org/ce/z/tfNyfK
smax.v4i1 -> and : https://alive2.llvm.org/ce/z/0__Af2

Reviewed By: goldstein.w.n, bryanpkc

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


Compare: https://github.com/llvm/llvm-project/compare/f5fc8b625172...1a65cd3fcf58


More information about the All-commits mailing list