mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-31 14:15:12 +00:00
[polly] Use DenseMap::contains (NFC)
This commit is contained in:
parent
872a3bf366
commit
0aee67ad4e
@ -326,7 +326,7 @@ static bool importSchedule(Scop &S, const json::Object &JScop,
|
||||
|
||||
auto ScheduleMap = isl::union_map::empty(S.getIslCtx());
|
||||
for (ScopStmt &Stmt : S) {
|
||||
if (NewSchedule.find(&Stmt) != NewSchedule.end())
|
||||
if (NewSchedule.contains(&Stmt))
|
||||
ScheduleMap = ScheduleMap.unite(NewSchedule[&Stmt]);
|
||||
else
|
||||
ScheduleMap = ScheduleMap.unite(Stmt.getSchedule());
|
||||
|
Loading…
x
Reference in New Issue
Block a user