[llvm] [RISCV] Use correct register class for Z[df]inx inline asm (PR #71872)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 18:13:56 PST 2023
================
@@ -18370,6 +18370,10 @@ RISCVTargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
// TODO: Support fixed vectors up to XLen for P extension?
if (VT.isVector())
break;
+ if (VT == MVT::f32 && Subtarget.hasStdExtZfinx())
----------------
topperc wrote:
Is Zhinx broken too?
https://github.com/llvm/llvm-project/pull/71872
More information about the llvm-commits
mailing list