From 8176002fdb567eca03d057d82440e1ea7c509ee1 Mon Sep 17 00:00:00 2001
From: Russel Arbore <russel.jma@gmail.com>
Date: Tue, 28 Jan 2025 14:19:35 -0600
Subject: [PATCH] Constants and dynamic constants no longer need to be
 scheduled to the start node

---
 hercules_opt/src/gcm.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hercules_opt/src/gcm.rs b/hercules_opt/src/gcm.rs
index 9929f6d6..0c7665bf 100644
--- a/hercules_opt/src/gcm.rs
+++ b/hercules_opt/src/gcm.rs
@@ -199,8 +199,6 @@ fn basic_blocks(
                 args: _,
             } => bbs[idx] = Some(control),
             Node::Parameter { index: _ } => bbs[idx] = Some(NodeID::new(0)),
-            Node::Constant { id: _ } => bbs[idx] = Some(NodeID::new(0)),
-            Node::DynamicConstant { id: _ } => bbs[idx] = Some(NodeID::new(0)),
             _ if function.nodes[idx].is_control() => bbs[idx] = Some(NodeID::new(idx)),
             _ => {}
         }
-- 
GitLab