This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Add raw_ostream parameter to printIR routines
ClosedPublic

Authored by jamieschmeiser on Aug 14 2020, 2:43 PM.

Details

Summary

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.
These changes will be presented at the developer's conference in Oct, 2020
(see https://hotcrp.llvm.org/usllvm2020/paper/29 for more details).

Diff Detail

Event Timeline

jamieschmeiser created this revision.Aug 14 2020, 2:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2020, 2:43 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
jamieschmeiser requested review of this revision.Aug 14 2020, 2:43 PM
This revision is now accepted and ready to land.Aug 14 2020, 3:17 PM
This revision was automatically updated to reflect the committed changes.