[all-commits] [llvm/llvm-project] e0ea9f: [RISCV][GISel] Lower G_SCMP and G_UCMP. (#119112)

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Dec 8 23:32:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0ea9fd6dc36f585e364d4e569095ebe063e2573
      https://github.com/llvm/llvm-project/commit/e0ea9fd6dc36f585e364d4e569095ebe063e2573
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-threeway-cmp-rv32.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-threeway-cmp-rv64.mir
    A llvm/test/CodeGen/RISCV/GlobalISel/scmp.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/ucmp.ll

  Log Message:
  -----------
  [RISCV][GISel] Lower G_SCMP and G_UCMP. (#119112)

Codegen is not optimal for RISC-V yet. We should port the (sub (setgt X,
Y), (setlt X, Y)) lowering from SelectionDAG.



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