[PATCH] D155502: [RISCV] Do not use F registers if zvfh/f/d is not specified in the architecture
Yueh-Ting (eop) Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 11:38:34 PDT 2023
eopXD added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:15154
+
+ if (LocVT == MVT::f16 && Subtarget.hasStdExtZvfh()) {
static const MCPhysReg FPR16List[] = {
----------------
craig.topper wrote:
> I think you meant Zfh? But even then you probably mean Zfh || Zfhmin?
Yes indeed, I keep mistaking them. Thank you for correcting me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155502/new/
https://reviews.llvm.org/D155502
More information about the llvm-commits
mailing list