This commit is contained in:
ALEXks
2025-06-14 15:15:51 +03:00
parent 6a59bc0e09
commit 50dd54cec1

View File

@@ -2215,6 +2215,7 @@ void restoreAssignsFromLoop(SgFile* file, const map<DIST::Array*, set<DIST::Arra
if (secondConv && notDeletedVectorAssign(move.first))
{
move.first->setVariant(-abs(move.first->variant()));
__spf_print(1, " save assign\n");
if (needDecl) // declare loops symbol
{
@@ -2237,8 +2238,10 @@ void restoreAssignsFromLoop(SgFile* file, const map<DIST::Array*, set<DIST::Arra
}
}
}
else
else {
move.second->setVariant(-abs(move.second->variant()));
__spf_print(1, " restored assign\n");
}
}
}
}