Oct 2023

5 commits
jit: Adjust back-patch of f90b4a84 to 12 and 13.
23 Oct 2023Thomas MunroREL_13_STABLE13.13REL_12_STABLE12.17
LLM analysis, 100% surelanded as postedfrom patchset #37

The single changed line in src/backend/jit/llvm/llvmjit_expr.c exactly matches #37, replacing l_ptr(TypeSizeT) with l_ptr(StructExprEvalStep).

Log LLVM library version in configure output.
22 Oct 2023Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+2 more
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

No attachment changes config/llvm.m4 or configure; the commit adds the LLVM version notice requested in #32 and redirected to configure by Tom Lane in #33, with completion confirmed in #36.

  • Tom Lanesaw the final versionLLM analysis, 99% sureBefore the commit, Tom proposed putting LLVM version reporting in configure rather than the buildfarm script in #33, which Thomas implemented and confirmed in #36.
jit: Changes for LLVM 17.
18 Oct 2023Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+1 more
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #152 of 2 reviewers saw the final version

Commits the complete LLVM 17 second patch from the two-patch submission #15, with only whitespace normalization of the passes declaration; the LLVM 16 portion landed separately.

  • Andres Freundsaw the final versiontrailerAndres identified redundant optimization passes in #13, explained the duplicate mem2reg execution in #16, and accepted the revision in #17.
  • Thomas Munrosaw the final versiontrailerThomas integrated and tested Dmitry's LLVM 17 changes in #8 and #11, accepted the final revision in #19, and committed it.
jit: Supply LLVMGlobalGetValueType() for LLVM < 8.
18 Oct 2023Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+1 more
LLM analysis, 100% surelanded as postedfrom patchset #22

Both hunks exactly match #22: the LLVMGlobalGetValueType compatibility wrapper in src/backend/jit/llvm/llvmjit_wrap.cpp and its declaration in src/include/jit/llvmjit.h.

jit: Support opaque pointers in LLVM 16.
18 Oct 2023Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+1 more
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #153 of 3 reviewers saw the final version

Commits the complete eight-file LLVM 16 first patch from #15 without code changes, leaving the LLVM 17 second patch for a separate commit; its patch header credits Thomas Munro despite Dmitry sending the series.

  • Dmitry Dolgovsaw the final versiontrailerDmitry reported successful LLVM 12, 15, and adapted LLVM 17 testing and benchmarking in #3, followed only by assertion-expression cleanup and mechanical rebasing of the LLVM 16 patch.
  • Ronan Dunklausaw the final versiontrailerRonan reported regression and sqlsmith testing in #4, identified an unused template in older-branch backports in #12, and confirmed further LLVM 16 stress testing in #20.
  • Andres Freundsaw the final versiontrailerAndres reviewed the template-function handling and requested assertion-enabled LLVM coverage in #6, after which the LLVM 16 patch received only assertion-expression cleanup and mechanical rebasing.

Credits across 5 commits

Author
Thomas MunroLLM3
Dmitry Dolgov1
Reviewer
Andres Freund2
Dmitry Dolgov1
Ronan Dunklau1
Thomas Munro1
Committer
Thomas Munro5

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