From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: jit: Add support for LLVM 12.
Date: Tue, 10 Nov 2020 04:02:14 +0000
Message-ID: <E1kcKrG-0007qE-54@gemulon.postgresql.org> (raw)
jit: Add support for LLVM 12.
LLVM 12, to be released in a few months, made some breaking changes to
the Orc JIT interface. OrcV2 eventually will make it easier to support
features like concurrent JIT compilation, but this commit only allows
to compile against LLVM 12.
This commit is a bit bigger than desirable. That partially is because
the V2 interface is more granular than V1 interface, but also because
I chose to make some minor changes to < LLVM 12 code to keep the code
somewhat readable.
The LLVM 12 support will need to be backpatched. I plan to do so after
the patch stewed on the buildfarm for a few days.
Author: Andres Freund
Discussion: https://postgr.es/m/20201016011244.pmyvr3ee2gbzplq4@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6c57f2ed16e1281067e3dde7e006e2d1cab72116
Modified Files
--------------
src/backend/jit/llvm/llvmjit.c | 458 +++++++++++++++++++++++++++++++--------
src/tools/pgindent/typedefs.list | 1 +
2 files changed, 374 insertions(+), 85 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: jit: Add support for LLVM 12.
In-Reply-To: <E1kcKrG-0007qE-54@gemulon.postgresql.org>
References: <E1kcKrG-0007qE-54@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox