[PATCH] D144941: [m68k] Add TLS Support
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 02:51:55 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp:670
+ case ISD::GLOBAL_OFFSET_TABLE: {
+ auto GOT = CurDAG->getTargetExternalSymbol("_GLOBAL_OFFSET_TABLE_",
+ MVT::i32, M68kII::MO_GOTPCREL);
----------------
(style) Avoid auto - use SDValue
================
Comment at: llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp:672
+ MVT::i32, M68kII::MO_GOTPCREL);
+ auto *Res = CurDAG->getMachineNode(M68k::LEA32q, DL, MVT::i32, GOT);
+ ReplaceNode(Node, Res);
----------------
(style) MachineSDNode *Res
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144941/new/
https://reviews.llvm.org/D144941
More information about the llvm-commits
mailing list