[all-commits] [llvm/llvm-project] 645c68: [NFC] Add raw_ostream parameter to printIR routines

jamieschmeiser via All-commits all-commits at lists.llvm.org
Tue Aug 18 09:05:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 645c6856a68af9b9dd7d918f630560cf07462ed7
      https://github.com/llvm/llvm-project/commit/645c6856a68af9b9dd7d918f630560cf07462ed7
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  [NFC] Add raw_ostream parameter to printIR routines

This is a non-functional-change to generalize the printIR routines so that
the output can be saved and manipulated rather than being directly output
to dbgs(). This is a prerequisite change for many upcoming changes that
allow new ways of examining changes made to the IR in the new pass manager.

Reviewed By: aeubanks (Arthur Eubanks)

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




More information about the All-commits mailing list