Re: [PATCH v2 05/16] arch/Kconfig: Remove tautological conditions from HAS_LTO_CLANG

From: Sami Tolvanen

Date: Tue May 19 2026 - 11:45:21 EST


On Mon, May 18, 2026 at 2:39 PM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
>
> On Mon, May 18, 2026 at 09:56:20AM +0200, Arnd Bergmann wrote:
> > Semi-related to this: we discussed a few years ago that we may one
> > day no longer need both full-lto and thin-lto.
> >
> > Is there still a need to keep supporting full-lto with clang-17+,
> > or can we expect everyone to use the thin version thee days?
>
> I believe there are still folks using full LTO, as I think that there is
> still some performance to be gained from using full LTO over thin LTO,
> but I am not sure.

Yes, AFAIK the performance with full LTO is still noticeably better
than with ThinLTO.

Sami