From d0113e91997532912a03fdc3aad81df9e65d9a72 Mon Sep 17 00:00:00 2001 From: Russel Arbore <russel.jma@gmail.com> Date: Sun, 15 Dec 2024 15:22:14 -0800 Subject: [PATCH] fix outline --- hercules_opt/src/outline.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hercules_opt/src/outline.rs b/hercules_opt/src/outline.rs index 915b11c9..7a334870 100644 --- a/hercules_opt/src/outline.rs +++ b/hercules_opt/src/outline.rs @@ -253,6 +253,10 @@ pub fn outline( if let Node::Phi { control, data } = &mut node && *control == top_node { + for datum in data.iter_mut() { + *datum = convert_id(*datum); + } + // If this node is a phi on the top node, we need to replace the // inputs corresponding to outside partition predecessors with a // single data input (with the corresponding control input of -- GitLab