So that instructions like lla a5, (0xFF + end) - 4 (supported by GNU as) can
be parsed.
Add a missing test that an operand like foo + foo is not allowed.
Differential D92293
[RISCVAsmParser] Allow a SymbolRef operand to be a complex expression MaskRay on Nov 29 2020, 8:53 PM. Authored by
Details So that instructions like lla a5, (0xFF + end) - 4 (supported by GNU as) can Add a missing test that an operand like foo + foo is not allowed.
Diff Detail
Event Timeline
|
Should we not be passing the assembler pointer? I don't remember when exactly RISC-V needs it, but RISC-V is pickier due to supporting linker relaxation.