Commit a8fdd09
committed
[Exegesis][RISCV] Support C_LDSP for llvm-exegesis
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.
```1 parent 04bddda commit a8fdd09
File tree
2 files changed
+17
-0
lines changed- llvm
- test/tools/llvm-exegesis/RISCV
- tools/llvm-exegesis/lib/RISCV
2 files changed
+17
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
822 | 830 | | |
823 | 831 | | |
824 | 832 | | |
| |||
0 commit comments