From ac322edbd466de1c7190f937b03b8898d7b1c0ae Mon Sep 17 00:00:00 2001 From: calebmkim <55243755+calebmkim@users.noreply.github.com> Date: Sun, 19 Nov 2023 15:22:07 -0500 Subject: [PATCH] fix (#1784) --- calyx-opt/src/analysis/domination_analysis/dominator_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calyx-opt/src/analysis/domination_analysis/dominator_map.rs b/calyx-opt/src/analysis/domination_analysis/dominator_map.rs index b8ef1c87a9..89d2354fea 100644 --- a/calyx-opt/src/analysis/domination_analysis/dominator_map.rs +++ b/calyx-opt/src/analysis/domination_analysis/dominator_map.rs @@ -156,7 +156,7 @@ fn get_id_static(c: &ir::StaticControl) -> u64 { #[inline] fn get_id(c: &ir::Control) -> u64 { let v = match c { - ir::Control::If(_) => { + ir::Control::If(_) | ir::Control::Static(ir::StaticControl::If(_)) => { if BEGIN { c.get_attribute(BEGIN_ID) } else {