Commit 896288d
authored
[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.
```1 parent d5b1afb commit 896288d
File tree
3 files changed
+24
-1
lines changed- llvm
- test/tools/llvm-exegesis/RISCV
- tools/llvm-exegesis/lib
- RISCV
3 files changed
+24
-1
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 | + | |
| 830 | + | |
822 | 831 | | |
823 | 832 | | |
824 | 833 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
0 commit comments