mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[TI removal] Just use Instruction in the CFG printer code. NFC.
llvm-svn: 344497
This commit is contained in:
parent
0830493d09
commit
30c1b2684f
@ -150,7 +150,7 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
|
||||
/// Display the raw branch weights from PGO.
|
||||
std::string getEdgeAttributes(const BasicBlock *Node, succ_const_iterator I,
|
||||
const Function *F) {
|
||||
const TerminatorInst *TI = Node->getTerminator();
|
||||
const Instruction *TI = Node->getTerminator();
|
||||
if (TI->getNumSuccessors() == 1)
|
||||
return "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user