[PATCH] D85999: [NFC] Add raw_ostream parameter to printIR routines
Jamie Schmeiser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 14:43:42 PDT 2020
jamieschmeiser created this revision.
jamieschmeiser added reviewers: aeubanks, ychen.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
jamieschmeiser requested review of this revision.
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).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85999
Files:
llvm/lib/Passes/StandardInstrumentations.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85999.285761.patch
Type: text/x-patch
Size: 5993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200814/e504e31f/attachment.bin>
More information about the llvm-commits
mailing list