forked from OSchip/llvm-project
[VPlan] Fix CondBit quoting in dumpBasicBlock
Quotes were being printed for VPInstructions but not the rest. llvm-svn: 344161
This commit is contained in:
parent
5ac4e51d53
commit
d8e7ca4a32
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue