This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
In an earlier message I indicated that moving the vrp_data information into the SSA_NAME itself probably wasn't that good of an idea. I also suggested that a hash table might be a better means to record that data since typically it's going to be rather sparse. This change turns that varray into a hash table per those ideas. The memory savings is substantial on the order of many megabytes for Gerald's testcase -- even though we have to allocate a two word structure for each hash table element (I did my initial measurements with those structures in GGC memory, but for the final version I moved them into malloc'd memory). Bootstrapped and regression tested on i686-pc-linux-gnu.
Attachment:
ZZZ
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |