[all-commits] [llvm/llvm-project] 896288: [Exegesis][RISCV] Support C_LDSP for llvm-exegesis...

Shaoce SUN via All-commits all-commits at lists.llvm.org
Wed Dec 3 20:32:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 896288d0b42f3e984dc3587c15091cbbf7d7b723
      https://github.com/llvm/llvm-project/commit/896288d0b42f3e984dc3587c15091cbbf7d7b723
  Author: Shaoce SUN <sunshaoce at outlook.com>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M llvm/test/tools/llvm-exegesis/RISCV/latency-by-extension-C.s
    M llvm/tools/llvm-exegesis/lib/RISCV/Target.cpp
    M llvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp

  Log Message:
  -----------
  [Exegesis][RISCV] Support C_LDSP for llvm-exegesis (#169660)

Fix error:
```
*** Bad machine code: Illegal physical register for instruction ***
- function:    foo
- basic block: %bb.0  (0x5e2262bd3f20)
- instruction: $x10 = C_LDSP $x10, 0
- operand 1:   $x10
$x10 is not a SP register.
llvm-exegesis error: The machine function failed verification.
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list