[llvm] [RISCV] Support Zdinx registers in -fzero-call-used-regs (PR #206323)
Lucas Chollet via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 12:02:25 PDT 2026
================
@@ -1432,6 +1432,52 @@ void RISCVFrameLowering::emitEpilogue(MachineFunction &MF,
emitSiFiveCLICStackSwap(MF, MBB, MBBI, DL);
}
+static MCRegister getPhysicalGPR(MCRegister Reg) {
----------------
LucasChollet wrote:
Of course, of course. When I wrote this code I only had the Aarch64 version in mind (which has a similar `switch`) even if I used `getMatchingSuperReg` for the floating point detection.
https://github.com/llvm/llvm-project/pull/206323
More information about the llvm-commits
mailing list