[all-commits] [llvm/llvm-project] d8efbc: [AArch64] Add tests for umax(x, 1u)

kazutakahirata via All-commits all-commits at lists.llvm.org
Thu Mar 23 20:21:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8efbcf9dcbb413fa3d3e66173f4630989e5588c
      https://github.com/llvm/llvm-project/commit/d8efbcf9dcbb413fa3d3e66173f4630989e5588c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M llvm/test/CodeGen/AArch64/min-max.ll

  Log Message:
  -----------
  [AArch64] Add tests for umax(x, 1u)

This patch adds tests for umax(x, 1u).

This patch fixes:

https://github.com/llvm/llvm-project/issues/60233

It turns out that commit 86b4d8645fc1b86693fef564cef68f24599c930f on
Feb 8, 2023 already performs the instcombine transformation proposed
in the issue, so the issue requires no change on the codegen side.




More information about the All-commits mailing list