This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Move emission of \\l\"+\n to dumpBasicBlock (NFC).
ClosedPublic

Authored by fhahn on Apr 26 2020, 1:48 PM.

Details

Summary

This is a first step towards untangling printing from DOT format output.

Diff Detail

Event Timeline

fhahn created this revision.Apr 26 2020, 1:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2020, 1:48 PM
fhahn updated this revision to Diff 260182.Apr 26 2020, 2:00 PM

Also move emission of Indent to dumpBasicBlock.

fhahn updated this revision to Diff 261709.May 3 2020, 10:53 AM

Fix test failures due to small formatting differences.

gilr accepted this revision.May 10 2020, 12:20 AM

Thanks for looking into this, Florian (and sorry for taking so long).
LGTM, except VPInterleaveRecipe::print() is missing here.
The patch stands by itself as a standardization of printing, similar to how the multi-line Function and Module print. If meant as a first step, would be good to elaborate on the full picture.

This revision is now accepted and ready to land.May 10 2020, 12:20 AM
fhahn added a comment.May 14 2020, 5:12 AM

Thanks for looking into this, Florian (and sorry for taking so long).
LGTM, except VPInterleaveRecipe::print() is missing here.
The patch stands by itself as a standardization of printing, similar to how the multi-line Function and Module print. If meant as a first step, would be good to elaborate on the full picture.

Thank you very much Gil! I've committed the patch with VPInterleaveRecipe::print() updated as well and a more detailed commit message.

This revision was automatically updated to reflect the committed changes.