[llvm] [Exegesis][RISCV] Support C_LDSP for llvm-exegesis (PR #169660)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 08:45:30 PST 2025
================
@@ -819,6 +819,14 @@ void ExegesisRISCVTarget::fillMemoryOperands(InstructionTemplate &IT,
assert(MemOp.isReg() && "Memory operand expected to be register");
+ unsigned Opcode = I.getOpcode();
+ if (Opcode == RISCV::C_LDSP || Opcode == RISCV::C_LWSP ||
+ Opcode == RISCV::C_SDSP || Opcode == RISCV::C_SWSP) {
----------------
topperc wrote:
Do we need to do the FP versions too?
https://github.com/llvm/llvm-project/pull/169660
More information about the llvm-commits
mailing list