Commit c3272a92 by Po-Chun Chang Committed by Martin Jambor

re PR middle-end/57276 (Waste work in cgraph_edge_brings_all_agg_vals_for_node())

2013-05-17  Po-Chun Chang  <pchang9@cs.wisc.edu>
	    Martin Jambor  <mjambor@suse.cz>

	PR middle-end/57276
	* ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Break when a
	value that corresponds to the given aggval is found in values vector.


Co-Authored-By: Martin Jambor <mjambor@suse.cz>

From-SVN: r199035
parent 11c2aa39
2013-05-17 Po-Chun Chang <pchang9@cs.wisc.edu>
Martin Jambor <mjambor@suse.cz>
PR middle-end/57276
* ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Break when a
value that corresponds to the given aggval is found in values vector.
2013-05-17 Uros Bizjak <ubizjak@gmail.com>
* config/i386/driver-i386.c (host_detect_local_cpu): Pass mmx, 3dnow,
......
......@@ -3213,7 +3213,10 @@ cgraph_edge_brings_all_agg_vals_for_node (struct cgraph_edge *cs,
if (item->value
&& item->offset == av->offset
&& values_equal_for_ipcp_p (item->value, av->value))
found = true;
{
found = true;
break;
}
if (!found)
{
values.release();
......
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