| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Cc: | Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com> |
| Subject: | Re: LLVM 22 |
| Date: | 2026-01-22 02:24:56 |
| Message-ID: | CA+hUKGJNP49kDT0WZph3MwBdYzwy7WnYCpy+XNJpsO78AxXydw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, Jan 11, 2026 at 8:09 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> A new unrelated assertion started firing in LLVM main/22 a few days ago:
>
> v_nullbytemask = l_int8_const(lc, 1 << ((attnum) & 0x07));
> Assertion failed: (llvm::isUIntN(BitWidth, val) && "Value is not
> an N-bit unsigned value")
>
> Here is a fix for that.
22 was branched and RC1 is out, but that particular change was
reverted from 22[1]. It had already been through a commit/revert
cycle before and at a wild guess, it probably caused too much work
elsewhere with not enough notice. It's still present in main, so
consider the v2-0003 patch booted out of here and into the
not-yet-created LLVM 23 thread...
[1] https://github.com/llvm/llvm-project/commit/16bf1c5d6b7f8fda16da5df5a2b195a6b10d08ed
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2026-01-22 02:25:45 | Re: Add missing JIT inline pass for llvm>=17 |
| Previous Message | Euler Taveira | 2026-01-22 02:12:19 | Re: log_min_messages per backend type |