2 Commits

View File

@@ -629,16 +629,6 @@ void findArrayRef(const vector<SgForStmt*> &parentLoops, SgExpression *currExp,
fillReductionsFromComment(new Statement(data), loopsReductions); fillReductionsFromComment(new Statement(data), loopsReductions);
fillReductionsFromComment(new Statement(data), loopsReductionsLoc); fillReductionsFromComment(new Statement(data), loopsReductionsLoc);
} }
set<string> dummy;
auto res = parseOmpDirs(loop, dummy);
for (auto& dir : res)
if (dir.keys.find("do") != dir.keys.end())
if (itFound->second.first->IsOmpThreadPrivate())
{
loopsPrivates.insert(itFound->second.first->GetShortName());
privatesVarsForLoop[z].insert(itFound->second.first->GetShortName());
}
} }
for (auto &elem : loopsReductions) for (auto &elem : loopsReductions)