Re: [PATCH] tree-optimization/114557 - reduce ehcleanup peak memory use

2024-04-02 Thread Jakub Jelinek
On Tue, Apr 02, 2024 at 02:06:27PM +0200, Richard Biener wrote: > On Tue, 2 Apr 2024, Richard Biener wrote: > > > The following reduces peak memory use for the PR114480 testcase at -O1 > > which is almost exclusively spent by the ehcleanup pass in allocating > > PHI nodes. The free_phinodes cache

Re: [PATCH] tree-optimization/114557 - reduce ehcleanup peak memory use

2024-04-02 Thread Richard Biener
2 Apr 2024 12:31:04 +0200 Subject: [PATCH] tree-optimization/114557 - reduce ehcleanup peak memory use To: gcc-patches@gcc.gnu.org The following reduces peak memory use for the PR114480 testcase at -O1 which is almost exclusively spent by the ehcleanup pass in allocating PHI nodes. The free_phino

[PATCH] tree-optimization/114557 - reduce ehcleanup peak memory use

2024-04-02 Thread Richard Biener
The following reduces peak memory use for the PR114480 testcase at -O1 which is almost exclusively spent by the ehcleanup pass in allocating PHI nodes. The free_phinodes cache we maintain isn't very effective since it has effectively two slots, one for 4 and one for 9 argument PHIs and it is only