diff options
| author | Florian Hahn <flo@fhahn.com> | 2023-05-22 09:53:52 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2023-05-22 09:53:53 +0100 |
| commit | 96686796f6062fd339a6b7d062a997adef56f97b (patch) | |
| tree | 8f8631f5877dad6527b73c229c05f2eb9d99eb39 /llvm/lib/Transforms/Vectorize/VPlan.cpp | |
| parent | bcd1296a1a5989131b188d605b9777d495281c75 (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.cpp | 6 |
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"; |
