improved and fixed FDVM, added ISNERT_INCLUDES pass
This commit is contained in:
@@ -4757,7 +4757,7 @@ void RedistributeArray(SgSymbol *das, int idisars, SgExpression *distr_rule_list
|
||||
if_st = doIfThenConstrForRedis(headref_flag,stdis,iamv); /*08.05.17*/
|
||||
where = end_if = if_st->lexNext()->lexNext(); // reffer to ENDIF statement
|
||||
i1 = ndvm;
|
||||
if(ACC_program) /*ACC*/
|
||||
if(ACC_program || parloop_by_handler) /*ACC*/
|
||||
where->insertStmtBefore(*Redistribute_H(headref,sign),*where->controlParent());
|
||||
amvref = (ia & TEMPLATE_BIT) ? headref : GetAMView( headref);
|
||||
//inserting after ELSE
|
||||
@@ -4838,7 +4838,7 @@ void RedistributeArray(SgSymbol *das, int idisars, SgExpression *distr_rule_list
|
||||
else {
|
||||
SgExpression *amvref;
|
||||
|
||||
if(ACC_program) /*ACC*/
|
||||
if(ACC_program || parloop_by_handler) /*ACC*/
|
||||
where->insertStmtBefore(*Redistribute_H(headref,sign),*where->controlParent());
|
||||
|
||||
amvref = (ia & TEMPLATE_BIT) ? headref : GetAMView( headref);
|
||||
@@ -5108,7 +5108,7 @@ void RealignArray(SgSymbol *als, SgSymbol *tgs, int iaxis, int nr, SgExpression
|
||||
return;
|
||||
}
|
||||
iamv = ndvm;
|
||||
if(ACC_program ) /*ACC*/
|
||||
if(ACC_program || parloop_by_handler) /*ACC*/
|
||||
{ if( !(ia & POSTPONE_BIT) )
|
||||
doCallAfter(Realign_H(HeaderRef(als),new_sign));
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user