[all-commits] [llvm/llvm-project] 5934df: MachineBasicBlock: add printName method

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Fri Jul 24 09:19:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5934df0c9abe94fc450fbcf0ceca21cf838840e9
      https://github.com/llvm/llvm-project/commit/5934df0c9abe94fc450fbcf0ceca21cf838840e9
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp

  Log Message:
  -----------
  MachineBasicBlock: add printName method

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

Differential Revision: https://reviews.llvm.org/D83253




More information about the All-commits mailing list