From da6685df43499c05b31cc351d9521f8ea1445079 Mon Sep 17 00:00:00 2001 From: ALEXks Date: Tue, 1 Apr 2025 18:53:49 +0300 Subject: [PATCH] fixed --- src/DvmhRegions/DvmhRegionInserter.cpp | 6 ++++-- src/Utils/version.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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"