------- Comment #34 from rguenth at gcc dot gnu dot org 2007-10-24 15:19 ------- Created an attachment (id=14406) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14406&action=view) partition heuristics change
The idea is to change the statistics to make the values in the fields match their names and based on that avoid partitioning for variables that are often directly accessed or indirectly accessed as mostly reads or writes. It probably makes sense to change the field names and weight the individual accesses with their BB frequency again. Of course the patch is not finished and is untested apart from throwing it on the 2nd testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32921