Compare commits
1 Commits
libpredict
...
c26305bf57
| Author | SHA1 | Date | |
|---|---|---|---|
| c26305bf57 |
@@ -136,7 +136,9 @@ static void replaceArrayRec(SgSymbol* arr, SgSymbol* replace_by, SgExpression* e
|
|||||||
if (!exp)
|
if (!exp)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (exp->symbol() && exp->symbol()->identifier() && strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
if (exp->variant() != STMT_STR && exp->symbol() &&
|
||||||
|
exp->symbol()->identifier() &&
|
||||||
|
strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
||||||
{
|
{
|
||||||
has_read |= from_read;
|
has_read |= from_read;
|
||||||
has_write |= from_write;
|
has_write |= from_write;
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ void InitPassesDependencies(map<passes, vector<passes>> &passDepsIn, set<passes>
|
|||||||
|
|
||||||
list({ REVERT_SUBST_EXPR_RD, CONVERT_LOOP_TO_ASSIGN }) <= Pass(RESOLVE_PAR_REGIONS);
|
list({ REVERT_SUBST_EXPR_RD, CONVERT_LOOP_TO_ASSIGN }) <= Pass(RESOLVE_PAR_REGIONS);
|
||||||
|
|
||||||
list({ REVERT_SUBST_EXPR_RD, CONVERT_LOOP_TO_ASSIGN, FILL_PAR_REGIONS}) <= Pass(REMOVE_DIST_ARRAYS_FROM_IO);
|
list({ FILL_PAR_REGIONS, REVERT_SUBST_EXPR_RD, CONVERT_LOOP_TO_ASSIGN}) <= Pass(REMOVE_DIST_ARRAYS_FROM_IO);
|
||||||
|
|
||||||
Pass(REVERT_SUBST_EXPR_RD) <= Pass(EXPAND_EXTRACT_PAR_REGION);
|
Pass(REVERT_SUBST_EXPR_RD) <= Pass(EXPAND_EXTRACT_PAR_REGION);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user