Re: [PATCH v4 1/2] xtensa: Eliminate unused stack frame allocation/freeing

2022-09-09 Thread Max Filippov via Gcc-patches
On Thu, Sep 8, 2022 at 2:38 PM Takayuki 'January June' Suwa wrote: > > Changes from v3: > (xtensa_expand_prologue): Changed to exclude debug insns from DF use chain > analysis. > > --- > > In the example below, 'x' is once placed on the stack frame and then read > into registers as the argument

[PATCH v4 1/2] xtensa: Eliminate unused stack frame allocation/freeing

2022-09-08 Thread Takayuki 'January June' Suwa via Gcc-patches
Changes from v3: (xtensa_expand_prologue): Changed to exclude debug insns from DF use chain analysis. --- In the example below, 'x' is once placed on the stack frame and then read into registers as the argument value of bar(): /* example */ struct foo { int a, b; }; exte