From b7e1ee6096dbb181e6913f051c619c5bbd365896 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 24 Apr 2024 18:25:36 +0200 Subject: [PATCH] small bug fix to the known groups preprocessing in the dataflow plugin regarding caching --- plugins/dataflow_analysis/src/pre_processing/pre_processing.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/dataflow_analysis/src/pre_processing/pre_processing.cpp b/plugins/dataflow_analysis/src/pre_processing/pre_processing.cpp index 2151b383f13..f6c196d6236 100644 --- a/plugins/dataflow_analysis/src/pre_processing/pre_processing.cpp +++ b/plugins/dataflow_analysis/src/pre_processing/pre_processing.cpp @@ -172,6 +172,7 @@ namespace hal { if (const auto group_it = net_to_group_index.find(current); group_it != net_to_group_index.end()) { + std::get<1>(suc_cache[current]).insert(group_it->second); for (const auto* n : previous) { std::get<1>(suc_cache[n]).insert(group_it->second); @@ -257,6 +258,7 @@ namespace hal { if (const auto group_it = net_to_group_index.find(current); group_it != net_to_group_index.end()) { + pred_cache[current].insert(group_it->second); for (const auto* n : previous) { pred_cache[n].insert(group_it->second);