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

hmm

parent 1b78bc2e
No related branches found
No related tags found
1 merge request!206More misc. rodinia opts
Pipeline #201948 passed
This commit is part of merge request !206. Comments created here will be created in the context of that merge request.
......@@ -879,8 +879,8 @@ fn spill_clones(
|| editor.func().nodes[a.idx()].is_reduce())
&& !editor.func().nodes[a.idx()]
.try_reduce()
.map(|(_, init, _)| {
init == *b
.map(|(_, init, reduct)| {
(init == *b || reduct == *b)
&& editor.func().schedules[a.idx()].contains(&Schedule::ParallelReduce)
})
.unwrap_or(false)
......
......@@ -27,6 +27,7 @@ simpl!(*);
predication(*);
simpl!(*);
unforkify(cost_init);
parallel-reduce(loop1);
forkify(*);
fork-guard-elim(*);
......@@ -35,5 +36,4 @@ predication(*);
reduce-slf(*);
simpl!(*);
unforkify(cost_init);
gcm(*);
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