jit: Changes for LLVM 17.
authorThomas Munro <[email protected]>
Wed, 18 Oct 2023 09:15:54 +0000 (22:15 +1300)
committerThomas Munro <[email protected]>
Wed, 18 Oct 2023 16:17:27 +0000 (05:17 +1300)
commit7da915e33abf54ce126d68baead4c1871b302c1c
tree2a223ba9243e2b599453ce9a793064118a117cfc
parentd701f0d1f3e7ed9e8b8ff0d368add9cdae3b8108
jit: Changes for LLVM 17.

Changes required by https://llvm.org/docs/NewPassManager.html.

Back-patch to 12, leaving the final release of 11 unchanged, consistent
with earlier decision not to back-patch LLVM 16 support either.

Author: Dmitry Dolgov <[email protected]>
Reviewed-by: Andres Freund <[email protected]>
Reviewed-by: Thomas Munro <[email protected]>
Discussion: https://postgr.es/m/CA%2BhUKG%2BWXznXCyTgCADd%3DHWkP9Qksa6chd7L%3DGCnZo-MBgg9Lg%40mail.gmail.com
src/backend/jit/llvm/llvmjit.c
src/backend/jit/llvm/llvmjit_wrap.cpp