mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[llvm-mca] Replace use of llvm::any_of with std::any_of.
This should unbreak the buildbots. llvm-svn: 340274
This commit is contained in:
parent
ab0b923dab
commit
1ef6559797
@ -339,8 +339,9 @@ public:
|
||||
int getCyclesLeft() const { return CyclesLeft; }
|
||||
|
||||
bool hasDependentUsers() const {
|
||||
return llvm::any_of(
|
||||
Defs, [](const UniqueDef &Def) { return Def->getNumUsers() > 0; });
|
||||
return std::any_of(Defs.begin(), Defs.end(), [](const UniqueDef &Def) {
|
||||
return Def->getNumUsers() > 0;
|
||||
});
|
||||
}
|
||||
|
||||
bool isDependencyBreaking() const { return IsDepBreaking; }
|
||||
|
Loading…
Reference in New Issue
Block a user