diff options
author | Kazu Hirata <kazu@google.com> | 2022-07-22 01:05:17 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-07-22 01:05:17 -0700 |
commit | 70257fab68e8081f5a4f182ea580f284b593aa6f (patch) | |
tree | e287db63194310c70f3c1a781abc8935191f4a83 /polly | |
parent | bf268a05cd9294854ffccc3158c0e673069bed4a (diff) | |
download | llvm-70257fab68e8081f5a4f182ea580f284b593aa6f.zip llvm-70257fab68e8081f5a4f182ea580f284b593aa6f.tar.gz llvm-70257fab68e8081f5a4f182ea580f284b593aa6f.tar.bz2 |
Use any_of (NFC)
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Analysis/ScopBuilder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/Analysis/ScopBuilder.cpp b/polly/lib/Analysis/ScopBuilder.cpp index 9bfd871..ab8e5ad 100644 --- a/polly/lib/Analysis/ScopBuilder.cpp +++ b/polly/lib/Analysis/ScopBuilder.cpp @@ -697,8 +697,7 @@ isl::set ScopBuilder::getPredecessorDomainConstraints(BasicBlock *BB, // If the predecessor is in a region we used for propagation we can skip it. auto PredBBInRegion = [PredBB](Region *PR) { return PR->contains(PredBB); }; - if (std::any_of(PropagatedRegions.begin(), PropagatedRegions.end(), - PredBBInRegion)) { + if (llvm::any_of(PropagatedRegions, PredBBInRegion)) { continue; } |