Re: [PATCH v2 04/14] tree-phinodes: Use 4 instead of 2 as the minimum number of phi args

2024-11-21 Thread Lewis Hyatt
On Wed, Nov 20, 2024 at 10:19:13AM +0100, Richard Biener wrote: > On Tue, Nov 19, 2024 at 5:46 PM Lewis Hyatt wrote: > > > > On Tue, Nov 19, 2024 at 9:59 AM Richard Biener > > wrote: > > > > > > On Sun, Nov 17, 2024 at 4:28 AM Lewis Hyatt wrote: > > > > > > > > Currently, when we allocate a gphi

Re: [PATCH v2 04/14] tree-phinodes: Use 4 instead of 2 as the minimum number of phi args

2024-11-20 Thread Richard Biener
On Tue, Nov 19, 2024 at 5:46 PM Lewis Hyatt wrote: > > On Tue, Nov 19, 2024 at 9:59 AM Richard Biener > wrote: > > > > On Sun, Nov 17, 2024 at 4:28 AM Lewis Hyatt wrote: > > > > > > Currently, when we allocate a gphi object, we round up the capacity for > > > the > > > trailing arguments array

Re: [PATCH v2 04/14] tree-phinodes: Use 4 instead of 2 as the minimum number of phi args

2024-11-19 Thread Lewis Hyatt
On Tue, Nov 19, 2024 at 9:59 AM Richard Biener wrote: > > On Sun, Nov 17, 2024 at 4:28 AM Lewis Hyatt wrote: > > > > Currently, when we allocate a gphi object, we round up the capacity for the > > trailing arguments array such that it will make full use of the page size > > that ggc will allocate

Re: [PATCH v2 04/14] tree-phinodes: Use 4 instead of 2 as the minimum number of phi args

2024-11-19 Thread Richard Biener
On Sun, Nov 17, 2024 at 4:28 AM Lewis Hyatt wrote: > > Currently, when we allocate a gphi object, we round up the capacity for the > trailing arguments array such that it will make full use of the page size > that ggc will allocate. While there is also an explicit minimum of 2 > arguments, in prac

[PATCH v2 04/14] tree-phinodes: Use 4 instead of 2 as the minimum number of phi args

2024-11-16 Thread Lewis Hyatt
Currently, when we allocate a gphi object, we round up the capacity for the trailing arguments array such that it will make full use of the page size that ggc will allocate. While there is also an explicit minimum of 2 arguments, in practice after rounding to the ggc page size there is always room