This is an archive of the discontinued LLVM Phabricator instance.

MachineBasicBlock: add printName method
ClosedPublic

Authored by nhaehnle on Jul 6 2020, 1:00 PM.

Details

Summary

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

Diff Detail

Event Timeline

nhaehnle created this revision.Jul 6 2020, 1:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2020, 1:00 PM
arsenm accepted this revision.Jul 6 2020, 1:04 PM

Another step towards fixing the unfortunate split between MIR and debug printing

This revision is now accepted and ready to land.Jul 6 2020, 1:04 PM
This revision was automatically updated to reflect the committed changes.