Re: LLVM 22

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: LLVM 22
Date: 2026-01-04 05:02:00
Message-ID: CA+hUKGJv+QUOy8yOHe_0VfRGTSrHaCvo0xZG-1JGTqBurcPkOw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 3, 2026 at 3:02 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> 1. We won't need our local llvm::backport::SectionMemoryManager for
> LLVM 22, so it will be nice to draw a line under that messy business.
> See commit message for details.

While that's true, there is a problem with the patch I posted:
"ReserveAlloc" is not enabled when called from C. I can't actually
reproduce the issue locally due to lack of RAM connected to an ARM
CPU, or I'd have noticed that... I'll attempt to do something about
that upstream[1], let's see... if not, we can still use the new
in-tree SectionMemoryManager, but we'll still need some C++ glue code.

[1] https://github.com/llvm/llvm-project/issues/174305

In response to

  • LLVM 22 at 2026-01-03 02:02:37 from Thomas Munro

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Jackson 2026-01-04 05:05:32 Re: Checking join outer relation uniqueness to prevent unnecessary memoization
Previous Message Chao Li 2026-01-04 04:30:36 Re: DOC: fixes multiple errors in alter table doc