[PATCH] D72485: [MIR] Fix cyclic dependency of MIR formatter

Peng Guo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 15:06:12 PST 2020


pguo created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
pguo added reviewers: dsanders, bkramer, arsenm.
Herald added a subscriber: wdng.

Move MIR formatter pointer from TargetMachine to TargetInstrInfo to
avoid cyclic dependency between target & codegen.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72485

Files:
  llvm/include/llvm/CodeGen/MachineMemOperand.h
  llvm/include/llvm/CodeGen/TargetInstrInfo.h
  llvm/include/llvm/Target/TargetMachine.h
  llvm/lib/CodeGen/MIRParser/MIParser.cpp
  llvm/lib/CodeGen/MIRPrinter.cpp
  llvm/lib/CodeGen/MachineInstr.cpp
  llvm/lib/CodeGen/MachineOperand.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  llvm/lib/Target/TargetMachine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72485.237215.patch
Type: text/x-patch
Size: 9538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200109/5bab6ffc/attachment-0001.bin>


More information about the llvm-commits mailing list