Skip to content
Snippets Groups Projects
Commit fab91363 authored by Xavier Routh's avatar Xavier Routh
Browse files

misc

parent 6a0c4a34
No related branches found
No related tags found
2 merge requests!157Fork fission bufferize,!144Forkify fixes
This commit is part of merge request !144. Comments created here will be created in the context of that merge request.
......@@ -514,7 +514,6 @@ pub fn analyze_phis<'a>(
// PHIs on the frontier of the uses by the candidate phi, i.e in uses_for_dependance need
// to have headers that postdominate the loop continue latch. The value of the PHI used needs to be defined
// by the time the reduce is triggered (at the end of the loop's internal control).
// If anything in the intersection is a phi (that isn't this own phi), then the reduction cycle depends on control.
// Which is not allowed.
if intersection.iter().any(|cycle_node| editor.node(cycle_node).is_phi() && *cycle_node != *phi) || editor.node(loop_continue_latch).is_phi() {
......
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