[all-commits] [llvm/llvm-project] a12f1d: [MachineInstr] Add a dumpr method

qcolombet via All-commits all-commits at lists.llvm.org
Tue Feb 25 10:46:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a12f1d6a52a195831da8f38eece08f271e2aa31b
      https://github.com/llvm/llvm-project/commit/a12f1d6a52a195831da8f38eece08f271e2aa31b
  Author: Quentin Colombet <qcolombet at apple.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

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

  Log Message:
  -----------
  [MachineInstr] Add a dumpr method

Add a dump method that recursively prints an instruction and all
the instructions defining its operands and so on.

This is helpful when looking at combiner issue.

NFC

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




More information about the All-commits mailing list