[all-commits] [llvm/llvm-project] eb89bf: [RISCV] Do not use FPR registers for fastcc if zfh...

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Tue Jul 18 10:03:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb89bf8d0d10e870c638818a7b019b2eda027735
      https://github.com/llvm/llvm-project/commit/eb89bf8d0d10e870c638818a7b019b2eda027735
  Author: eopXD <yueh.ting.chen at gmail.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/fastcc-without-f-reg.ll

  Log Message:
  -----------
  [RISCV] Do not use FPR registers for fastcc if zfh/f/d is not specified in the architecture

Resolves #63917.

Also lets the compiler check for available GPR before hitting the stack.

Reviewed By: asb

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




More information about the All-commits mailing list