[PATCH] Take register pressure into account for vec_construct when the components are not loaded from memory.

2023-11-27 Thread liuhongt
For vec_contruct, the components must be live at the same time if they're not loaded from memory, when the number of those components exceeds available registers, spill happens. Try to account that with a rough estimation. ??? Ideally, we should have an overall estimation of register pressure if we

Re: [PATCH] Take register pressure into account for vec_construct when the components are not loaded from memory.

2023-11-28 Thread Richard Biener
On Tue, Nov 28, 2023 at 8:54 AM liuhongt wrote: > > For vec_contruct, the components must be live at the same time if > they're not loaded from memory, when the number of those components > exceeds available registers, spill happens. Try to account that with a > rough estimation. > ??? Ideally, we

Re: [PATCH] Take register pressure into account for vec_construct when the components are not loaded from memory.

2023-11-29 Thread Hongtao Liu
On Wed, Nov 29, 2023 at 3:47 PM Richard Biener wrote: > > On Tue, Nov 28, 2023 at 8:54 AM liuhongt wrote: > > > > For vec_contruct, the components must be live at the same time if > > they're not loaded from memory, when the number of those components > > exceeds available registers, spill happen