Re: upcoming API changes for LLVM 12 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: upcoming API changes for LLVM 12
Date
Msg-id 20201016054551.GA367@alvherre.pgsql
Whole thread Raw
In response to upcoming API changes for LLVM 12  (Andres Freund <andres@anarazel.de>)
Responses Re: upcoming API changes for LLVM 12  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2020-Oct-15, Andres Freund wrote:

> There will be a breaking API change for JIT related API in LLVM
> 12. Mostly about making control over various aspects easier, and then
> building on top of that providing new features (like JIT compiling in
> the background and making it easier to share JIT compiled output between
> processes).
> 
> I've worked with Lang Hames to ensure that the new C API has feature
> parity...

Whee, sounds pretty good ... (am I dreaming too much if I hope execution
starts with non-jitted and switches on the fly to jitted once
background compilation finishes?)

> 2) When do we want to add LLVM 12 support? PG will soon stop compiling
>    against LLVM 12, which will be released in about 6 months. I worked
>    with Lang to make most of the breaking changes in a branch (to be
>    merged in the next few days), but it's possible that there will be a
>    few smaller changes.

hmm, how regular are LLVM releases?  I mean, what if pg14 ends up being
released sooner than LLVM12 – would there be a problem?



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel INSERT (INTO ... SELECT ...)
Next
From: Luc Vlaming
Date:
Subject: Re: Parallel Inserts in CREATE TABLE AS