2016-08-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/77282
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
When doing auto-parallelizing also prevent use of PHIs that
carry dependences across loop backedges.
From-SVN: r239565
+2016-08-18 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/77282
+ * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
+ When doing auto-parallelizing also prevent use of PHIs that
+ carry dependences across loop backedges.
+
2016-08-18 Tamar Christina <tamar.christina@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
if (sprime
&& TREE_CODE (sprime) == SSA_NAME
&& do_pre
- && flag_tree_loop_vectorize
+ && (flag_tree_loop_vectorize || flag_tree_parallelize_loops)
&& loop_outer (b->loop_father)
&& has_zero_uses (sprime)
&& bitmap_bit_p (inserted_exprs, SSA_NAME_VERSION (sprime))