Apr 2026

2 commits
jit: No backport::SectionMemoryManager for LLVM 22.
3 Apr 2026Thomas Munromaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #61 of 1 reviewer saw the final version

The commit takes the SectionMemoryManager component of #6, including the LLVM 22 ReserveAlloc call in src/backend/jit/llvm/llvmjit.c and the version guard in src/include/jit/llvmjit_backport.h. Its code matches that component; the commit message is rewritten and the original license-clause commentary in SectionMemoryManager.cpp is retained.

  • Devrim GÜNDÜZsaw the final versionLLM analysis, 97% sureDevrim reported successful builds and all regression tests passing with the patches on Fedora LLVM 22.1.0 in #11, before this component landed with only light changes.
jit: Stop emitting lifetime.end for LLVM 22.
2 Apr 2026Thomas Munromaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #60 of 3 reviewers saw the final version

The commit takes a reduced version of the lifetime.end component of #6 in src/backend/jit/llvm/llvmjit_expr.c: it retains the version guards and LLVM context relocation but omits the replacement poison stores. Thomas proposed this simplification in #13 after reviewers found the poison approach ineffective.

  • Matheus Alcantarasaw an earlier versiontrailerMatheus compared generated assembly and tested removal of the poison stores in #3 and #5, reviewing the earlier implementation before those stores were dropped.
  • Anthonin Bonnefoysaw an earlier versiontrailerAnthonin tested optimization variants in #7 and demonstrated in #10 that poison stores failed to reproduce lifetime.end behavior, prompting the later simplification.
  • Andres Freundsaw an earlier versiontrailerAndres supplied a reproducer and diagnosed optimization-pass ordering that defeated poison-based dead-store elimination in #9, before the poison stores were removed.

Credits across 2 commits

Author
Thomas MunroLLM2
Reviewer
Andres Freund1
Anthonin Bonnefoy1
Matheus Alcantara1
Committer
Thomas Munro2

N LLM means N of the credits come from LLM analysis, not from commit trailers.