Change VEAsmParser to support identification with relocation information
in assmebler. Change VEAsmBackend to support relocation information in
MC layer. Change VEDisassembler and VEMCCodeEmitter to support binary
generation of branch target operands. Add REFLONG fixup and variant kind
to support new R_VE_REFLONG ELF symbol. And, add regression test in both
MC and CodeGen to check binary genaration with relocation information.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM with one minor nit. Thanks!
llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp | ||
---|---|---|
970 | const auto&? In any case, l968 and l973 should use the same types (currently the above uses a * whereas it's a & below). |
I'll check manuals of assembler for Aurora and update this patch. Thanks.
llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp | ||
---|---|---|
970 | Thanks. I've missed it again. On the other hand, I may remove this function based on Sparc implementation. While I've checking this function based on your suggestion, I've noticed this function is used to convert @hi to @pc_hi or @got_hi but the Nas doesn't have such functionality. I'll check more deeply. |
const auto&? In any case, l968 and l973 should use the same types (currently the above uses a * whereas it's a & below).