Skip to content
Snippets Groups Projects
Commit 53c5c99e authored by rarbore2's avatar rarbore2
Browse files

Merge branch 'constant_gcm' into 'main'

Constant scheduling

See merge request !130
parents 97ada154 6415c36d
No related branches found
No related tags found
1 merge request!130Constant scheduling
Pipeline #201209 passed
...@@ -199,8 +199,6 @@ fn basic_blocks( ...@@ -199,8 +199,6 @@ fn basic_blocks(
args: _, args: _,
} => bbs[idx] = Some(control), } => bbs[idx] = Some(control),
Node::Parameter { index: _ } => bbs[idx] = Some(NodeID::new(0)), 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)), _ if function.nodes[idx].is_control() => bbs[idx] = Some(NodeID::new(idx)),
_ => {} _ => {}
} }
......
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