Allow assembler expressions to start with an identifier. This allows for expressions such as
b symbol + 4
and
mov symEnd - symStart, %g1
The patch builds upon https://reviews.llvm.org/D47136.
Paths
| Differential D47458
[Sparc] Support relocatable expressions in the assembler ClosedPublic Authored by dcederman on May 29 2018, 1:17 AM.
Details Summary Allow assembler expressions to start with an identifier. This allows for expressions such as b symbol + 4 and mov symEnd - symStart, %g1 The patch builds upon https://reviews.llvm.org/D47136.
Diff Detail Event TimelineHerald added subscribers: llvm-commits, jrtc27, fedor.sergeev. · View Herald TranscriptMay 29 2018, 1:17 AM Comment Actions The test case needs to be resorted, so that the DOTEXPR test comes last, but otherwise this change works for me. This revision is now accepted and ready to land.Feb 8 2021, 4:04 PM Closed by commit rGad3b023c8898: [Sparc] Support relocatable expressions in the assembler (authored by dcederman). · Explain WhyFeb 10 2021, 5:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 148854 lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
test/MC/Sparc/sparc-assembly-exprs.s
|