[all-commits] [llvm/llvm-project] a6f8af: [RISCV] Improve vmsge and vmsgeu selection (#115435)

Jianjian Guan via All-commits all-commits at lists.llvm.org
Tue Nov 12 23:05:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6f8af676a36bd43dd0c7f6229e6c91161a56819
      https://github.com/llvm/llvm-project/commit/a6f8af676a36bd43dd0c7f6229e6c91161a56819
  Author: Jianjian Guan <jacquesguan at me.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/vmsge.ll
    M llvm/test/CodeGen/RISCV/rvv/vmsgeu.ll

  Log Message:
  -----------
  [RISCV] Improve vmsge and vmsgeu selection (#115435)

Select vmsge(u) vs, C to vmsgt(u) vs, C-1 if C is not in the imm range
and not the minimum value.

Fix https://github.com/llvm/llvm-project/issues/114505.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list