[PATCH] D98517: [M68k] Make M68k TargetMachine use getter function

Ricky Taylor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 12 09:07:50 PST 2021


ricky26 created this revision.
ricky26 added a reviewer: myhsu.
Herald added a subscriber: hiraditya.
ricky26 edited the summary of this revision.
ricky26 edited the summary of this revision.
ricky26 published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes M68k match other platforms in this regard.

This was done as part of the AsmParser/Disassembler work since the entry functions of those modules usually reference `getTheXXXTarget()`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98517

Files:
  llvm/lib/Target/M68k/M68kAsmPrinter.cpp
  llvm/lib/Target/M68k/M68kTargetMachine.cpp
  llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
  llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.h
  llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
  llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98517.330256.patch
Type: text/x-patch
Size: 4053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210312/7096fbb5/attachment.bin>


More information about the llvm-commits mailing list