[VPlan] Fix CondBit quoting in dumpBasicBlock

Quotes were being printed for VPInstructions but not the rest.

llvm-svn: 344161
This commit is contained in:
Renato Golin 2018-10-10 17:55:21 +00:00
parent 5ac4e51d53
commit d8e7ca4a32
1 changed files with 3 additions and 1 deletions

View File

@ -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);