mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
11c2aa3984
commit
c3272a921a
|
|
@ -1,3 +1,10 @@
|
|||
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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue