Commit 6e02c507 by Jeff Law Committed by Jeff Law

tree-ssa-dom.c (record_equivalences_from_phis): Do not record symbolic…

tree-ssa-dom.c (record_equivalences_from_phis): Do not record symbolic equivalences from backedges in the CFG.

	* tree-ssa-dom.c (record_equivalences_from_phis): Do not
	record symbolic equivalences from backedges in the CFG.

From-SVN: r255803
parent 129b5668
2017-12-18 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (record_equivalences_from_phis): Do not
record symbolic equivalences from backedges in the CFG.
Revert
2017-11-19 Jeff Law <law@redhat.com>
......@@ -1126,6 +1126,12 @@ record_equivalences_from_phis (basic_block bb)
t = dom_valueize (t);
/* If T is an SSA_NAME and its associated edge is a backedge,
then quit as we can not utilize this equivalence. */
if (TREE_CODE (t) == SSA_NAME
&& (gimple_phi_arg_edge (phi, i)->flags & EDGE_DFS_BACK))
break;
/* If we have not processed an alternative yet, then set
RHS to this alternative. */
if (rhs == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment