diff options
author | Kazu Hirata <kazu@google.com> | 2023-03-15 22:55:35 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-03-15 22:55:35 -0700 |
commit | 4e585e51c167f458c3a9072298c3d4e32a7fce31 (patch) | |
tree | 56cfe020f8c4d17355bd27c6018e72040ab9c40f /polly | |
parent | 6c756486d44914bac6fb20513b8c41f1a5726c4c (diff) | |
download | llvm-4e585e51c167f458c3a9072298c3d4e32a7fce31.tar.gz |
Use *{Map,Set}::contains (NFC)
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/CodeGen/IslNodeBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/IslNodeBuilder.cpp b/polly/lib/CodeGen/IslNodeBuilder.cpp index dbcf969c1b2b..c91dd7665757 100644 --- a/polly/lib/CodeGen/IslNodeBuilder.cpp +++ b/polly/lib/CodeGen/IslNodeBuilder.cpp @@ -850,7 +850,7 @@ void IslNodeBuilder::generateCopyStmt( } Value *IslNodeBuilder::materializeNonScopLoopInductionVariable(const Loop *L) { - assert(OutsideLoopIterations.find(L) == OutsideLoopIterations.end() && + assert(!OutsideLoopIterations.contains(L) && "trying to materialize loop induction variable twice"); const SCEV *OuterLIV = SE.getAddRecExpr(SE.getUnknown(Builder.getInt64(0)), SE.getUnknown(Builder.getInt64(1)), L, |