diff --git a/src/DvmhRegions/DvmhRegionInserter.cpp b/src/DvmhRegions/DvmhRegionInserter.cpp index 4c8cd67..9a6c809 100644 --- a/src/DvmhRegions/DvmhRegionInserter.cpp +++ b/src/DvmhRegions/DvmhRegionInserter.cpp @@ -17,7 +17,6 @@ using namespace std; - #define DVMH_REG_RD 0 #define DVMH_REG_WT 1 @@ -1428,7 +1427,10 @@ static set for (auto& realArray : realRef) { - if (added.count(realArray) != 0 || realArray->IsNotDistribute()) + if (added.count(realArray) != 0) + continue; + + if (!realArray->IsNotDistribute()) continue; SgStatement* declStat = NULL; diff --git a/src/Utils/version.h b/src/Utils/version.h index a725872..4a75125 100644 --- a/src/Utils/version.h +++ b/src/Utils/version.h @@ -1,3 +1,3 @@ #pragma once -#define VERSION_SPF "2403" +#define VERSION_SPF "2404"