Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsJ0q-007VON-UP for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Oct 2023 08:31:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qsJ0o-00H2sy-96 for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Oct 2023 08:31:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsJ0n-00H2sd-UI for pgsql-hackers@lists.postgresql.org; Mon, 16 Oct 2023 08:31:42 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qsJ0g-000vvw-1A for pgsql-hackers@lists.postgresql.org; Mon, 16 Oct 2023 08:31:41 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-406619b53caso42969915e9.1 for ; Mon, 16 Oct 2023 01:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aiven.io; s=google; t=1697445094; x=1698049894; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8p8o/fbsFTP6lP1ZCe4D/qWhDTxb+VGdXWxcEsEoWtY=; b=AjP4Qe9K7FyrB3aSxQTEhUbpo3kMgfvN8OdFnWToZq7+xnddqztilrDvZC+6ovOm0H xW5CVU1+l54ZqXxAYqcpk/W/QnGzH48DSpXgBqk0B7p0tPls/EUlnR6kdtl6DM2kvYId vpp7pgEy5CRNfcc2otDayrGYahcx1SOClREqc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697445094; x=1698049894; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8p8o/fbsFTP6lP1ZCe4D/qWhDTxb+VGdXWxcEsEoWtY=; b=niOQd6KvRSlmePjD7A/U5dp7AIc6XEz6fQ2RNCvxWZo3LrNNVjCi1mfoI5GEjTnO1l qZmdj2z8MrMVlLOjqp8H3lebxibCREsFUu0CXu75OxIPF7FwX2+L0EF+yaTWGMrCreX3 dSvs76GcAGH3J6Y34bceuYWAApNzGxWrrXYviSpkAqFqFn9cx3iUNaeG+j/jsO/kxxWH w3IiEMGr8NiHixZ83aPQUabW1VErN5dAv/cVEU/dUMS9UI6YOzDjMc4qIGdZI4DCzRUm 4bO2sOxUg7JwtPNYupFTwd2OCAhcveuknumH78G/DRwMGSPTyBkkBM/irdr9myC4nSTz LrTw== X-Gm-Message-State: AOJu0YwofmAS25u6BARlZ3ed/mIVf3PFRAhKn0yHoez9rPXCUgF0ePLF B/HPZuNmlTVhvlp5Y4LzMslPXg== X-Google-Smtp-Source: AGHT+IEcGUVOpNMdlTa6q/XsyNNt3nwe4JjOwNLr/JbLDMMym6p+HVh6dY4OmIZIxritFPvEB6p3aQ== X-Received: by 2002:a05:600c:1caa:b0:407:58e1:24ed with SMTP id k42-20020a05600c1caa00b0040758e124edmr13281709wms.39.1697445094077; Mon, 16 Oct 2023 01:31:34 -0700 (PDT) Received: from aivenlaptop.localnet ([45.13.105.93]) by smtp.gmail.com with ESMTPSA id f8-20020adfe908000000b0032d8ce46caasm10763316wrm.93.2023.10.16.01.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 01:31:33 -0700 (PDT) From: Ronan Dunklau To: Thomas Munro Cc: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= , PostgreSQL Hackers , Fabien COELHO , Andres Freund , Dmitry Dolgov <9erthalion6@gmail.com> Subject: Re: LLVM 16 (opaque pointers) Date: Mon, 16 Oct 2023 10:31:32 +0200 Message-ID: <2700884.mvXUDI8C0e@aivenlaptop> In-Reply-To: References: <5716086.DvuYhMxLoT@aivenlaptop> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le vendredi 13 octobre 2023, 22:32:13 CEST Thomas Munro a =C3=A9crit : > On Wed, Oct 11, 2023 at 10:31=E2=80=AFPM Ronan Dunklau =20 wrote: > > Le mercredi 11 octobre 2023, 10:59:50 CEST Thomas Munro a =C3=A9crit : > > > The back-patch to 12 was a little trickier than anticipated, but after > > > taking a break and trying again I now have PG 12...17 patches that > > > I've tested against LLVM 10...18 (that's 54 combinations), in every > > > case only with the clang corresponding to LLVM. > >=20 > > Thank you Thomas for those patches, and the extensive testing, I will r= un > > my own and let you know. >=20 > Thanks! No news is good news, I hope? I'm hoping to commit this today. >=20 > > > I've attached only the patches for master, but the 12-16 versions are > > > available at https://github.com/macdice/postgres/tree/llvm16-$N in > > > case anyone has comments on those. > >=20 > > For PG13 and PG12, it looks like the ExecEvalBoolSubroutineTemplate is = not > > used anywhere, as ExecEvalBoolSubroutine was introduced in PG14 if I'm = not > > mistaken. >=20 > Right, looks like I can remove that in those branches. Oh sorry I thought I followed up. I ran the same stress testing involving=20 several hours of sqlsmith with all jit costs set to zero and didn't notice= =20 anything with LLVM16. Thank you ! =2D- Ronan Dunklau