On Tue, Jun 3, 2025 at 10:43 PM H.J. Lu wrote:
>
> On Tue, Jun 3, 2025 at 10:51 AM Andrew Pinski
> wrote:
> >
> > When we have a smallish CSWTCH, it could be placed in the rodata.cst16
> > section so it can be merged with other constants across TUs.
> >
> > The fix is simple; just mark the decl
On Tue, Jun 3, 2025 at 10:51 AM Andrew Pinski wrote:
>
> When we have a smallish CSWTCH, it could be placed in the rodata.cst16
> section so it can be merged with other constants across TUs.
>
> The fix is simple; just mark the decl as mergable (DECL_MERGEABLE).
> DECL_MERGEABLE was added with r14
> Am 03.06.2025 um 04:51 schrieb Andrew Pinski :
>
> When we have a smallish CSWTCH, it could be placed in the rodata.cst16
> section so it can be merged with other constants across TUs.
>
> The fix is simple; just mark the decl as mergable (DECL_MERGEABLE).
> DECL_MERGEABLE was added with r1
When we have a smallish CSWTCH, it could be placed in the rodata.cst16
section so it can be merged with other constants across TUs.
The fix is simple; just mark the decl as mergable (DECL_MERGEABLE).
DECL_MERGEABLE was added with r14-1500-g4d935f52b0d5c0 specifically
to improve these kind of decls