[llvm] [Exegesis][RISCV] Support C_LDSP for llvm-exegesis (PR #169660)
Shaoce SUN via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 10:02:53 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) {
----------------
sunshaoce wrote:
I tested some instructions, but none of them can be measured:
```
C_FLDSP: No strategy found to make the execution serial
C_FSDSP: No strategy found to make the execution serial
C_FLWSP: No strategy found to make the execution serial
C_FSWSP: No strategy found to make the execution serial
```
https://github.com/llvm/llvm-project/pull/169660
More information about the llvm-commits
mailing list