[VPlan] Move emission of \\l\"+\n to dumpBasicBlock (NFC).
authorFlorian Hahn <flo@fhahn.com>
Thu, 14 May 2020 11:37:38 +0000 (12:37 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 14 May 2020 12:07:59 +0000 (13:07 +0100)
commit4c8285c750bc957f2064e591720241d0047c69f5
treefafb782aee819d1ec63532cabb4bb5832f3eb3ee
parent17ba631d1317f294460036cc430d0000d158ad3d
[VPlan] Move emission of \\l\"+\n to dumpBasicBlock (NFC).

The patch standardizes printing of VPRecipes a bit, by hoisting out the
common emission of \\l\"+\n. It simplifies the code and is also a first
step towards untangling printing from DOT format output, with the goal
of making the DOT output optional and to provide a more concise debug
output if DOT output is disabled.

Reviewers: gilr, Ayal, rengolin

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D78883
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp