mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Include a shadow of the original CFG edges in the edge bundle graph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
90a5a0cd7c
commit
c64379da07
@ -75,6 +75,10 @@ raw_ostream &llvm::WriteGraph(raw_ostream &O, const EdgeBundles &G,
|
||||
O << "\t\"BB#" << BB << "\" [ shape=box ]\n"
|
||||
<< '\t' << G.getBundle(BB, false) << " -> \"BB#" << BB << "\"\n"
|
||||
<< "\t\"BB#" << BB << "\" -> " << G.getBundle(BB, true) << '\n';
|
||||
for (MachineBasicBlock::const_succ_iterator SI = I->succ_begin(),
|
||||
SE = I->succ_end(); SI != SE; ++SI)
|
||||
O << "\t\"BB#" << BB << "\" -> \"BB#" << (*SI)->getNumber()
|
||||
<< "\" [ color=lightgray ]\n";
|
||||
}
|
||||
O << "}\n";
|
||||
return O;
|
||||
|
Loading…
x
Reference in New Issue
Block a user