Re: JIT compiling with LLVM v11 - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: JIT compiling with LLVM v11
Date
Msg-id CAEepm=2KPYMP1tGqd4ASaRB6bp9b2k=vnESWg+t8HX-3cR6i=w@mail.gmail.com
Whole thread Raw
In response to Re: JIT compiling with LLVM v11  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Fri, Mar 9, 2018 at 9:12 AM, Andres Freund <andres@anarazel.de> wrote:
> Or even in core LLVM, which has this nice comment:
>
>   // If user asked for the 'native' CPU, we need to autodetect features.
>   // This is necessary for x86 where the CPU might not support all the
>   // features the autodetected CPU name lists in the target. For example,
>   // not all Sandybridge processors support AVX.
>   if (MCPU == "native") {
>
> which pretty much describes the issue you're apparently hitting.
>
> I've pushed an attempted fix (needs a comment, but works here).

=======================
 All 186 tests passed.
=======================

That did the trick.  Thanks!

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: RFC: Add 'taint' field to pg_control.
Next
From: Joe Wildish
Date:
Subject: Re: Implementing SQL ASSERTION