mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
Remove usage of use_size()
llvm-svn: 9134
This commit is contained in:
parent
c6778e91f4
commit
7e21039f40
@ -218,7 +218,7 @@ inline std::ostream &operator<<(std::ostream &o, const InstForest<Payload> &IF){
|
||||
//
|
||||
template <class Payload>
|
||||
bool InstTreeNode<Payload>::CanMergeInstIntoTree(Instruction *I) {
|
||||
if (I->use_size() > 1) return false;
|
||||
if (!I->use_empty() && !I->hasOneUse()) return false;
|
||||
return I->getParent() == cast<Instruction>(getValue())->getParent();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user