From cc26100e8d04ff4ac78b0aa0d315931f54aef8c2 Mon Sep 17 00:00:00 2001 From: Ayaka Yorihiro Date: Tue, 24 Sep 2024 12:43:32 -0400 Subject: [PATCH] Undo extra group tracking (we don't need to do this for now) --- calyx-opt/src/passes/top_down_compile_control.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/calyx-opt/src/passes/top_down_compile_control.rs b/calyx-opt/src/passes/top_down_compile_control.rs index 71aabc485..de1634da6 100644 --- a/calyx-opt/src/passes/top_down_compile_control.rs +++ b/calyx-opt/src/passes/top_down_compile_control.rs @@ -1236,19 +1236,6 @@ impl Visitor for TopDownCompileControl { _sigs: &LibrarySignatures, _comps: &[ir::Component], ) -> VisResult { - // FIXME: Might want to be more principled than this? - // Profiling: Adding all groups so that groups that do not show up in control are still accounted for in profiling - let groups = &comp.groups; - for comp_group in groups.iter() { - let group: Id = (*comp_group).borrow_mut().name(); - let group_enable = SingleEnableInfo { - component: comp.name, - group, - }; - self.fsm_groups - .insert(ProfilingInfo::SingleEnable(group_enable)); - } - let mut con = comp.control.borrow_mut(); if matches!(*con, ir::Control::Empty(..) | ir::Control::Enable(..)) { if let Some(enable_info) =