This patch is a follow-up to D55896.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
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 | ||
---|---|---|
223 ↗ | (On Diff #179376) | Indentation. |
239 ↗ | (On Diff #179376) | 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. |
274 ↗ | (On Diff #179376) | Please use braces consistently for the whole if-else sequence. |
405 ↗ | (On Diff #179376) | 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. |