Skip to content
Snippets Groups Projects

Fix outlining again

Merged rarbore2 requested to merge outline_fix_2 into main
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading