Skip to content
Snippets Groups Projects
Commit 7e362766 authored by rarbore2's avatar rarbore2
Browse files

Fix outlining again

parent bbb227d1
No related branches found
No related tags found
1 merge request!78Fix outlining again
...@@ -253,6 +253,10 @@ pub fn outline( ...@@ -253,6 +253,10 @@ pub fn outline(
if let Node::Phi { control, data } = &mut node if let Node::Phi { control, data } = &mut node
&& *control == top_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 // If this node is a phi on the top node, we need to replace the
// inputs corresponding to outside partition predecessors with a // inputs corresponding to outside partition predecessors with a
// single data input (with the corresponding control input of // single data input (with the corresponding control input of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment