REMOVE_DIST_ARRAYS_FROM_IO: remove debug prints

This commit is contained in:
2025-08-17 15:59:27 +03:00
parent b5c923193c
commit fdab7096d4

View File

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