We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15a6ea5 + 67a6e6d commit 3a14b4dCopy full SHA for 3a14b4d
src/mpl/src/clusterEngine.cpp
@@ -1021,12 +1021,7 @@ void ClusteringEngine::buildDataFlowConnections()
1021
1022
// bterm, macros or ffs
1023
for (const auto& [bterm, insts] : data_connections_.io_and_regs) {
1024
- const auto itr = tree_->maps.bterm_to_cluster_id.find(bterm);
1025
- if (itr == tree_->maps.bterm_to_cluster_id.end()) {
1026
- continue;
1027
- }
1028
-
1029
- const int driver_id = itr->second;
+ const int driver_id = tree_->maps.bterm_to_cluster_id.at(bterm);
1030
Cluster* driver_cluster = tree_->maps.id_to_cluster.at(driver_id);
1031
1032
for (int hops = 0; hops < max_num_of_hops_; hops++) {
0 commit comments