| Issue |
64623
|
| Summary |
[RISC-V] Assertion when using li with a symbol difference
|
| Labels |
backend:RISC-V
|
| Assignees |
|
| Reporter |
arichardson
|
`Assertion `FixupKind != RISCV::fixup_riscv_invalid && "Unhandled _expression_!"'`
```asm
li t1, .Ltrap_vector_end - .Ltrap_vector
.global trap_vector
trap_vector:
.Ltrap_vector:
nop
nop
.global trap_vector_end
trap_vector_end:
.Ltrap_vector_end:
```
It appears this resulted in `error: operand must be a constant 64-bit integer` until recently: See https://godbolt.org/z/WKPEMsGTe
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs