REMOVE_DIST_ARRAYS_FROM_IO: remove debug prints

This commit is contained in:
2025-09-11 12:40:05 +03:00
parent 470783326f
commit 9ad5fc5fef

View File

@@ -61,7 +61,6 @@ static SgExpression* findExprWithVariant(SgExpression* exp, int variant)
static bool checkAssumedSize(SgStatement *st, const string &arrayName, const string &currentFile) static bool checkAssumedSize(SgStatement *st, const string &arrayName, const string &currentFile)
{ {
__spf_print(1, "Try array %s\n", arrayName.c_str());
bool found = false; bool found = false;
DIST::Array* array_p = getArrayFromDeclarated(st, arrayName); DIST::Array* array_p = getArrayFromDeclarated(st, arrayName);
@@ -74,8 +73,6 @@ static bool checkAssumedSize(SgStatement *st, const string &arrayName, const str
SgExpression* list = st->expr(0); SgExpression* list = st->expr(0);
while (list) while (list)
{ {
__spf_print(1, "Try list %s\n", list->lhs()->unparse());
if (list->lhs() && list->lhs()->symbol()->identifier() == arrayName) if (list->lhs() && list->lhs()->symbol()->identifier() == arrayName)
{ {
if(findExprWithVariant(list->lhs(), STAR_RANGE)) if(findExprWithVariant(list->lhs(), STAR_RANGE))
@@ -724,7 +721,6 @@ void replaceDistributedArraysInIO(vector<ParallelRegion*>& regions,
{ {
if (next->hasLabel()) if (next->hasLabel())
{ {
__spf_print(1, "%s has label\n", next->unparse());
moveLabelBefore(next); moveLabelBefore(next);
find_return_stmt = next->lexPrev(); find_return_stmt = next->lexPrev();
} }