Re: [gcc-12 PATCH] ira: Correct HONOR_REG_ALLOC_ORDER usage

2021-02-23 Thread Uros Bizjak via Gcc-patches
On Tue, Feb 23, 2021 at 8:48 AM Richard Biener wrote: > > On Mon, 22 Feb 2021, Uros Bizjak wrote: > > > The intention of HONOR_REG_ALLOC_ORDER is to ensure that IRA allocates > > registers in the order given by REG_ALLOC_ORDER. However in > > ira_better_spill_reload_regno_p, there is still a plac

Re: [gcc-12 PATCH] ira: Correct HONOR_REG_ALLOC_ORDER usage

2021-02-22 Thread Richard Biener
On Mon, 22 Feb 2021, Uros Bizjak wrote: > The intention of HONOR_REG_ALLOC_ORDER is to ensure that IRA allocates > registers in the order given by REG_ALLOC_ORDER. However in > ira_better_spill_reload_regno_p, there is still a place where the > calculation depends on the presence of REG_ALLOC_ORD

[gcc-12 PATCH] ira: Correct HONOR_REG_ALLOC_ORDER usage

2021-02-22 Thread Uros Bizjak via Gcc-patches
The intention of HONOR_REG_ALLOC_ORDER is to ensure that IRA allocates registers in the order given by REG_ALLOC_ORDER. However in ira_better_spill_reload_regno_p, there is still a place where the calculation depends on the presence of REG_ALLOC_ORDER, ignoring HONOR_REG_ALLOC_ORDER macro altogeth