[llvm] r346860 - [VPlan] Remove LLVM_DEBUG from VPlanSlp::dumpBundle.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 14 05:33:44 PST 2018
Author: fhahn
Date: Wed Nov 14 05:33:44 2018
New Revision: 346860
URL: http://llvm.org/viewvc/llvm-project?rev=346860&view=rev
Log:
[VPlan] Remove LLVM_DEBUG from VPlanSlp::dumpBundle.
The caller should take care of only calling it with debug enabled.
Modified:
llvm/trunk/lib/Transforms/Vectorize/VPlanSLP.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/VPlanSLP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/VPlanSLP.cpp?rev=346860&r1=346859&r2=346860&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/VPlanSLP.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/VPlanSLP.cpp Wed Nov 14 05:33:44 2018
@@ -347,13 +347,13 @@ SmallVector<VPlanSlp::MultiNodeOpTy, 4>
}
void VPlanSlp::dumpBundle(ArrayRef<VPValue *> Values) {
- LLVM_DEBUG(dbgs() << " Ops: ");
+ dbgs() << " Ops: ";
for (auto Op : Values)
if (auto *Instr = cast_or_null<VPInstruction>(Op)->getUnderlyingInstr())
- LLVM_DEBUG(dbgs() << *Instr << " | ");
+ dbgs() << *Instr << " | ";
else
- LLVM_DEBUG(dbgs() << " nullptr | ");
- LLVM_DEBUG(dbgs() << "\n");
+ dbgs() << " nullptr | ";
+ dbgs() << "\n";
}
VPInstruction *VPlanSlp::buildGraph(ArrayRef<VPValue *> Values) {
More information about the llvm-commits
mailing list