Re: JIT compiling with LLVM v10.1

2018-02-19 Thread Jesper Pedersen
Hi, On 02/14/2018 01:17 PM, Andres Freund wrote: On 2018-02-07 06:54:05 -0800, Andres Freund wrote: I've pushed v10.0. The big (and pretty painful to make) change is that now all the LLVM specific code lives in src/backend/jit/llvm, which is built as a shared library which is loaded on demand.

Re: JIT compiling with LLVM v10.1

2018-02-15 Thread Andres Freund
Hi, On 2018-02-15 11:59:46 +0300, Konstantin Knizhnik wrote: > It is well known fact that Postgres spends most of the time in sequence scan > queries for warm data in deforming tuples (17% in case of TPC-H Q1). I think that the majority of the time therein is not actually bottlenecked by CPU,

Re: JIT compiling with LLVM v10.1

2018-02-15 Thread Konstantin Knizhnik
On 14.02.2018 21:17, Andres Freund wrote: Hi, On 2018-02-07 06:54:05 -0800, Andres Freund wrote: I've pushed v10.0. The big (and pretty painful to make) change is that now all the LLVM specific code lives in src/backend/jit/llvm, which is built as a shared library which is loaded on demand.

Re: JIT compiling with LLVM v10.1

2018-02-14 Thread Andres Freund
Hi, On 2018-02-14 23:32:17 +0100, Pierre Ducroquet wrote: > Here are the LLVM4 and LLVM3.9 compatibility patches. > Successfully built, and executed some silly queries with JIT forced to make > sure it worked. Thanks! I'm going to integrate them into my series in the next few days. Regards,

Re: JIT compiling with LLVM v10.1

2018-02-14 Thread Pierre Ducroquet
On Wednesday, February 14, 2018 7:17:10 PM CET Andres Freund wrote: > Hi, > > On 2018-02-07 06:54:05 -0800, Andres Freund wrote: > > I've pushed v10.0. The big (and pretty painful to make) change is that > > now all the LLVM specific code lives in src/backend/jit/llvm, which is > > built as a

Re: JIT compiling with LLVM v10.1

2018-02-14 Thread Andres Freund
Hi, On 2018-02-07 06:54:05 -0800, Andres Freund wrote: > I've pushed v10.0. The big (and pretty painful to make) change is that > now all the LLVM specific code lives in src/backend/jit/llvm, which is > built as a shared library which is loaded on demand. > > The layout is now as follows: > >