Re: [PATCH] Use alloc-pool for lra_insn_recog_data

2019-11-21 Thread Vladimir Makarov
On 11/21/19 3:21 AM, Richard Biener wrote: This eliminates one of the top callers for malloc when building tramp3d. We're using alloc-pools for other structures already so it looks somewhat obvious to also do for lra_insn_recog_data. Bootstrapped / tested on x86_64-unknown-linux-gnu. OK? Sur

[PATCH] Use alloc-pool for lra_insn_recog_data

2019-11-21 Thread Richard Biener
This eliminates one of the top callers for malloc when building tramp3d. We're using alloc-pools for other structures already so it looks somewhat obvious to also do for lra_insn_recog_data. Bootstrapped / tested on x86_64-unknown-linux-gnu. OK? Thanks, Richard. 2019-11-21 Richard Biener