[all-commits] [llvm/llvm-project] e12be9: [RISCV] Don't promote ISD::SELECT with rv64-legal-...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Feb 2 11:54:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e12be9cde44f92bc5a788930508a7fd13db78f11
      https://github.com/llvm/llvm-project/commit/e12be9cde44f92bc5a788930508a7fd13db78f11
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoXTHead.td
    A llvm/test/CodeGen/RISCV/rv64-legal-i32/condops.ll

  Log Message:
  -----------
  [RISCV] Don't promote ISD::SELECT with rv64-legal-i32 when XTHeadCondMov is enabled.

Fixes an infinite loop.

Test copied from the non-rv64-legal-i32 test.




More information about the All-commits mailing list