diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-10-15 09:33:40 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-10-15 09:33:40 +0000 |
commit | f21ce5df774dd185112ab6bd9e92912dcdf27804 (patch) | |
tree | fc966dda67aba17e1b60da9eb1ff8241f1af84f4 /llvm | |
parent | a3849490b18bda5c526b71752cda44497cd4ab7a (diff) | |
download | bcm5719-llvm-f21ce5df774dd185112ab6bd9e92912dcdf27804.tar.gz bcm5719-llvm-f21ce5df774dd185112ab6bd9e92912dcdf27804.zip |
[TI removal] Just use Instruction in the CFG printer code. NFC.
llvm-svn: 344497
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/Analysis/CFGPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/CFGPrinter.h b/llvm/include/llvm/Analysis/CFGPrinter.h index a4b642b9ea3..5996dd90bcf 100644 --- a/llvm/include/llvm/Analysis/CFGPrinter.h +++ b/llvm/include/llvm/Analysis/CFGPrinter.h @@ -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 ""; |