Skip to content
Snippets Groups Projects
Commit e1f5634f authored by Russel Arbore's avatar Russel Arbore
Browse files

fix to antideps

parent ed33189c
No related branches found
No related tags found
3 merge requests!157Fork fission bufferize,!144Forkify fixes,!142More fork tests, bug fixes in fork passes and GPU backend
Pipeline #201345 failed
This commit is part of merge request !157. Comments created here will be created in the context of that merge request.
...@@ -290,7 +290,7 @@ fn basic_blocks( ...@@ -290,7 +290,7 @@ fn basic_blocks(
.collect(); .collect();
for mutator in reverse_postorder.iter() { for mutator in reverse_postorder.iter() {
let mutator_early = schedule_early[mutator.idx()].unwrap(); let mutator_early = schedule_early[mutator.idx()].unwrap();
if dom.does_dom(root_early, mutator_early) if dom.does_prop_dom(root_early, mutator_early)
&& (root_early != mutator_early && (root_early != mutator_early
|| root_block_iterated_users.contains(&mutator)) || root_block_iterated_users.contains(&mutator))
&& mutating_objects(function, func_id, *mutator, objects) && mutating_objects(function, func_id, *mutator, objects)
......
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