summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Vectorize/VPlan.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-05-22 09:53:52 +0100
committerFlorian Hahn <flo@fhahn.com>2023-05-22 09:53:53 +0100
commit96686796f6062fd339a6b7d062a997adef56f97b (patch)
tree8f8631f5877dad6527b73c229c05f2eb9d99eb39 /llvm/lib/Transforms/Vectorize/VPlan.cpp
parentbcd1296a1a5989131b188d605b9777d495281c75 (diff)
[VPlan] Move live-out printing to VPLiveOut::print (NFC).
Preparation for D150398. This brings live-out printing in line with how printing for recipes is handled.
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VPlan.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/VPlan.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.cpp b/llvm/lib/Transforms/Vectorize/VPlan.cpp
index cf58e959ca4d..54cfd3345dbc 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -791,11 +791,7 @@ void VPlan::print(raw_ostream &O) const {
if (!LiveOuts.empty())
O << "\n";
for (const auto &KV : LiveOuts) {
- O << "Live-out ";
- KV.second->getPhi()->printAsOperand(O);
- O << " = ";
- KV.second->getOperand(0)->printAsOperand(O, SlotTracker);
- O << "\n";
+ KV.second->print(O, SlotTracker);
}
O << "}\n";