[PATCH] D83253: MachineBasicBlock: add printName method

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 13:00:45 PDT 2020


nhaehnle created this revision.
nhaehnle added a reviewer: arsenm.
Herald added subscribers: hiraditya, wdng.
Herald added a project: LLVM.

Common up some existing MBB name printing logic into a single place.
Note that basic block dumping now prints the same set of attributes as
the MIRPrinter.

Change-Id: I8f022bbd922e831bc96d63143d7472c03282530b


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83253

Files:
  llvm/include/llvm/CodeGen/MachineBasicBlock.h
  llvm/lib/CodeGen/MIRPrinter.cpp
  llvm/lib/CodeGen/MachineBasicBlock.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83253.275810.patch
Type: text/x-patch
Size: 7202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200706/ba71f25c/attachment.bin>


More information about the llvm-commits mailing list