model-writtenrun 3940 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro proposed LLVM 16 opaque-pointer support in #1, introducing explicit types at IR-emission sites and example functions for recovering function signatures while retaining older LLVM APIs where needed.
- Thomas explained in #2 that LLVM 17 also required the new pass-manager API, and Dmitry Dolgov supplied a testing-only delta in #3 after successful tests and benchmarks across several LLVM versions.
- Ronan Dunklau reported successful regression and sqlsmith testing and explored backports in #4; Andres Freund argued against supporting the nearly retired PostgreSQL 11 in #5 and reviewed the function-template handling in #6.
- After the summer gap, Thomas combined both changes in #8, added LLVM-version guards around Dmitry's implementation, clarified template type assertions, and deferred compiler/library version restrictions because he had not found a failing combination.
- Devrim GÜNDÜZ explained that RHEL's LLVM upgrades required support back to PostgreSQL 12 in #9, and Thomas agreed in #10.
- Thomas reported testing 54 PostgreSQL/LLVM combinations in #11 and rebased the series to use explicit LLVM contexts; Ronan then identified an unnecessary boolean-subroutine template in the PostgreSQL 12/13 backports in #12.
- Andres challenged redundant no-op and mem2reg passes in #13, prompting Dmitry's revision in #15 to use default<O3> or default<O0>,mem2reg; Andres accepted that revision in #17.
- Ronan confirmed further LLVM 16 sqlsmith stress testing in #20, and Thomas committed the unchanged LLVM 16 portion of #15 as 37d5babb5c.
- The first landing exposed an unavailable C API on older LLVM releases, reported in #21; Thomas supplied the compatibility wrapper in #22, which landed unchanged as f90b4a846b.
- Thomas then committed the LLVM 17 portion of #15, with only whitespace cleanup, as 76200e5ee4, confirming both follow-up landings in #23; Devrim subsequently reported successful distribution builds in #25.
- Newly enabled buildfarm coverage exposed s390x layout mismatches and POWER failures in #23 and #26, and Mark Wong offered machine access in #27 so the developers could investigate.
- Thomas requested visible LLVM version information in #32, and Tom Lane proposed implementing it in configure in #33.
- Andres supplied a separate ABI fallback patch in #34, loosely derived from Tom Stellard's earlier work, which checks data layouts and falls back to the CPU features recorded in llvmjit_types.bc; he reported passing s390x regression tests.
- Thomas tested the ABI fallback across LLVM versions and forced its fallback path successfully in #35, also suggesting wording corrections.
- The configure-reporting discussion produced 5e4dacb987 without an attached patch, adding the LLVM version to configure output as confirmed in #36.
- An older debug LLVM build exposed a PostgreSQL 12/13 parameter-type mismatch, which Thomas diagnosed and patched in #37; the exact one-line correction landed as 7c070e224c.
- Using Mark's version inventory in #38, Thomas recommended disabling unsupported old LLVM combinations in #39, and Mark reported applying the buildfarm changes in #40.
- Andres reproduced the remaining Fedora 29 POWER failure but could not reproduce it with LLVM 7 built on a newer distribution in #41, making an old compiler or standard-library problem likely; Tom Lane agreed to stop pursuing that obsolete environment in #42.
- At the thread's end, LLVM 16/17 support and the three follow-up commits had landed, the ABI fallback from #34 had been tested but had no recorded landing here, and Mark planned to retire his old Fedora buildfarm systems in #43.