Compare commits
3 Commits
0941d656aa
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e2d0eacbd | ||
|
|
daeaafd8a7 | ||
|
|
5b3716cef3 |
Submodule projects/dvm updated: ab99430aee...7aefb0d897
@@ -1933,6 +1933,17 @@ static inline bool processStat(SgStatement *st, const string &currFile,
|
|||||||
retVal = false;
|
retVal = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//MERGE_ARRAYS
|
||||||
|
if (isSPF_OP(attributeStatement, SPF_MERGE_ARRAYS_OP))
|
||||||
|
{
|
||||||
|
attributeStatement->setLocalLineNumber(-1);
|
||||||
|
/*if (st->variant() != FOR_NODE)
|
||||||
|
{
|
||||||
|
BAD_POSITION_FULL(ERROR, "", "", "before", RR1_1, "DO statement", RR1_3, attributeStatement->lineNumber());
|
||||||
|
retVal = false;
|
||||||
|
}*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (type == SPF_CHECKPOINT_DIR)
|
else if (type == SPF_CHECKPOINT_DIR)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2480"
|
#define VERSION_SPF "2482"
|
||||||
|
|||||||
@@ -1809,6 +1809,13 @@ int SPF_MoveOperators(void*& context, int winHandler, short* options, short* pro
|
|||||||
return simpleTransformPass(MOVE_OPERATORS, options, projName, folderName, output, outputMessage);
|
return simpleTransformPass(MOVE_OPERATORS, options, projName, folderName, output, outputMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int SPF_MergeRegions(void*& context, int winHandler, short* options, short* projName, short* folderName, string& output, string& outputMessage)
|
||||||
|
{
|
||||||
|
MessageManager::clearCache();
|
||||||
|
MessageManager::setWinHandler(winHandler);
|
||||||
|
return simpleTransformPass(MERGE_REGIONS, options, projName, folderName, output, outputMessage);
|
||||||
|
}
|
||||||
|
|
||||||
static inline void convertBackSlash(char *str, int strL)
|
static inline void convertBackSlash(char *str, int strL)
|
||||||
{
|
{
|
||||||
for (int z = 0; z < strL; ++z)
|
for (int z = 0; z < strL; ++z)
|
||||||
@@ -2519,6 +2526,8 @@ const wstring Sapfor_RunTransformation(const char* transformName_c, const char*
|
|||||||
retCode = SPF_InsertPrivateArrayDirectives(context, winHandler, optSh, projSh, fold, output, outputMessage);
|
retCode = SPF_InsertPrivateArrayDirectives(context, winHandler, optSh, projSh, fold, output, outputMessage);
|
||||||
else if (whichRun == "SPF_MoveOperators")
|
else if (whichRun == "SPF_MoveOperators")
|
||||||
retCode = SPF_MoveOperators(context, winHandler, optSh, projSh, fold, output, outputMessage);
|
retCode = SPF_MoveOperators(context, winHandler, optSh, projSh, fold, output, outputMessage);
|
||||||
|
else if (whichRun == "SPF_MergeRegions")
|
||||||
|
retCode = SPF_MergeRegions(context, winHandler, optSh, projSh, fold, output, outputMessage);
|
||||||
else if (whichRun == "SPF_CreateParallelVariant")
|
else if (whichRun == "SPF_CreateParallelVariant")
|
||||||
{
|
{
|
||||||
vector<string> splited;
|
vector<string> splited;
|
||||||
|
|||||||
Reference in New Issue
Block a user