Re: LLVM 22
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Devrim Gündüz <devrim@gunduz.org>
Cc: Thomas Munro <thomas.munro@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Matheus Alcantara <matheusssilv97@gmail.com>,
Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Date: 2026-03-31T23:55:11Z
Lists: pgsql-hackers
Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim@gunduz.org> writes: > Fedora pushed 22.1.0 to both Fedora 44 beta and rawhide repos, so I > tested these patches. Builds are fine and all regression tests pass. > Anything else I should check? Where are we on getting these patches pushed? I think the reason that BF member midge has been failing of late is that it's running LLVM 22 (if not indeed something even newer --- configure doesn't report the clang version, sadly). Also, I've reproduced this symptom: Intrinsic has incorrect argument type! ptr @llvm.lifetime.end.p0 Intrinsic has incorrect argument type! ptr @llvm.lifetime.end.p0 2026-03-31 18:58:20.218 EDT [28486] FATAL: fatal llvm error: Broken module found, compilation aborted! on a fresh Fedora 44/x86_64 installation with llvm 22.1.1. So this is going to be a production compiler RSN. (F44 is still labeled beta, but not for much longer.) regards, tom lane
Commits
-
jit: No backport::SectionMemoryManager for LLVM 22.
- 9b354cfc5584 14.23 landed
- 963fccc09cc6 15.18 landed
- 8354cd7ff575 16.14 landed
- 0a2291b59f9b 17.10 landed
- 5c54e0f48fa2 18.4 landed
- be21341e13d9 19 (unreleased) landed
-
jit: Stop emitting lifetime.end for LLVM 22.
- b4e7cd428c00 14.23 landed
- c00ea2b5b4f1 15.18 landed
- 26f27c592c5d 16.14 landed
- b6d0cddbe27d 17.10 landed
- 78cea19bf7da 18.4 landed
- de6b80e5ff4b 19 (unreleased) landed