This patch is a follow-up to D55896.
Details
Diff Detail
Event Timeline
MC/AArch64/fixup-absolute-signed.s | ||
---|---|---|
30 ↗ | (On Diff #179367) | Can you also add a testcase for something like "movn x0, #:abs_g0_s:onepart_after". (Yes, it's kind of silly, but the assembler allows it.) |
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp | ||
---|---|---|
220–221 | Indentation. | |
239 | VK_SABS isn't a bit-mask; this technically works because of the specific values of VK_ABS and VK_SABS, but it's very confusing. Please use something like AArch64MCExpr::getSymbolLoc(RefKind) == AArch64MCExpr::VK_SABS instead. | |
273–274 | Please use braces consistently for the whole if-else sequence. | |
406 | We should probably fix getFixupKindInfo() and getFixupKindNumBytes() to correctly account for this bit. Granted, it probably doesn't have much practical effect... I think it'll affect the comments generated by "-show-mc-encoding", and not much else. |
Indentation.