diff options
author | Kazu Hirata <kazu@google.com> | 2021-12-25 08:43:06 +0300 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2021-12-25 08:43:06 +0300 |
commit | 76f0f1cc5c52359da5dd6dffff0c444400a1bca1 (patch) | |
tree | 621c7eaa322e6f04d4a0683ea7929420a7917b54 /polly/lib/Support | |
parent | 62e48ed10f9d2328331378f7c070487e58346a7e (diff) |
Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC)
Diffstat (limited to 'polly/lib/Support')
-rw-r--r-- | polly/lib/Support/SCEVValidator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Support/SCEVValidator.cpp b/polly/lib/Support/SCEVValidator.cpp index 002674375df0..8f175596d711 100644 --- a/polly/lib/Support/SCEVValidator.cpp +++ b/polly/lib/Support/SCEVValidator.cpp @@ -472,7 +472,7 @@ public: // are strictly not necessary by tracking the invariant load as a // scalar. LoadInst *LI = dyn_cast<LoadInst>(Inst); - if (LI && ILS.count(LI) > 0) + if (LI && ILS.contains(LI)) return false; } |