rework PRE PHI translation cache
authorRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 15:57:05 +0000 (16:57 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 19:30:00 +0000 (20:30 +0100)
commit600be7f09ea1ea4b59e4e733fda2aca3ba892a6b
treea492b05d676a0fd0443743a6ba9dfcafcbcefa07
parent129e1a8a96d140150705fab30d25afb464eb1d99
rework PRE PHI translation cache

Turns out its size and time requirements can be stripped down
dramatically.

2020-11-06  Richard Biener  <rguenther@suse.de>

* tree-ssa-pre.c (expr_pred_trans_d): Modify so elements
are embedded rather than allocated.  Remove hashval member,
make all members integers.
(phi_trans_add): Adjust accordingly.
(phi_translate): Likewise.  Deal with re-allocation
of the table.
gcc/tree-ssa-pre.c