summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2018-10-10 17:55:21 +0000
committerRenato Golin <renato.golin@linaro.org>2018-10-10 17:55:21 +0000
commitd8e7ca4a32bb533564ef033156d657b95fbc6b64 (patch)
tree9fbd4e7372849f75b45742c9a3285f5152c5f405 /llvm
parent5ac4e51d53bef378c085d6ba590fa8b025673c31 (diff)
downloadbcm5719-llvm-d8e7ca4a32bb533564ef033156d657b95fbc6b64.tar.gz
bcm5719-llvm-d8e7ca4a32bb533564ef033156d657b95fbc6b64.zip
[VPlan] Fix CondBit quoting in dumpBasicBlock
Quotes were being printed for VPInstructions but not the rest. llvm-svn: 344161
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Vectorize/VPlan.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.cpp b/llvm/lib/Transforms/Vectorize/VPlan.cpp
index 09d20fbdefe..39cb4e9ec68 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -543,8 +543,10 @@ void VPlanPrinter::dumpBasicBlock(const VPBasicBlock *BasicBlock) {
if (const VPInstruction *CBI = dyn_cast<VPInstruction>(CBV)) {
CBI->printAsOperand(OS);
OS << " (" << DOT::EscapeString(CBI->getParent()->getName()) << ")\\l\"";
- } else
+ } else {
CBV->printAsOperand(OS);
+ OS << "\"";
+ }
}
bumpIndent(-2);
OpenPOWER on IntegriCloud