From 374dbfd3753ff6bec871e1bd091174ddf1083b19 Mon Sep 17 00:00:00 2001 From: Russel Arbore <russel.jma@gmail.com> Date: Thu, 31 Oct 2024 17:06:17 -0500 Subject: [PATCH] Cleanup --- hercules_ir/src/gcm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hercules_ir/src/gcm.rs b/hercules_ir/src/gcm.rs index d6eb9b87..44d89ce8 100644 --- a/hercules_ir/src/gcm.rs +++ b/hercules_ir/src/gcm.rs @@ -1,5 +1,3 @@ -extern crate bitvec; - use std::collections::{HashMap, HashSet, VecDeque}; use std::iter::{zip, FromIterator}; @@ -183,6 +181,8 @@ pub fn gcm( // node. let schedule_early = schedule_early[id.idx()].unwrap(); let mut chain = dom + // If the node has no users, then it doesn't really matter where we + // place it - just place it at the early placement. .chain(lca.unwrap_or(schedule_early), schedule_early) // Filter the dominator chain by control nodes in the same partition // as this data node, if the data node is in a partition already. -- GitLab