[PATCH] D102575: [SPARC][MC] Support more relocation types
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 16 04:52:29 PDT 2021
jrtc27 requested changes to this revision.
jrtc27 added inline comments.
This revision now requires changes to proceed.
================
Comment at: llvm/test/MC/Sparc/sparc-relocations.s:84
+
+ ! CHECK: ld [%l7+%l1], %l2, %gdop(sym) ! encoding: [0xe4,0x05,0xc0,0x11]
+ ! CHECK-NEXT: ! fixup A - offset: 0, value: %gdop(sym), kind: fixup_sparc_gotdata_op
----------------
Hm, if I understand correctly, this parses fine despite `ld` only taking one memory operand and one destination register because `TLS_LDrr` matches this case as we just have `def TLSSym : Operand<iPTR>;`. That should probably be cleaned up as part of this (possibly split out into a separate patch depending on the route you take).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102575/new/
https://reviews.llvm.org/D102575
More information about the llvm-commits
mailing list