Re: JIT: Remove some unnecessary instructions.

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Xing Guo <higuoxing(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: JIT: Remove some unnecessary instructions.
Date: 2024-08-30 12:50:51
Message-ID: 13394b72-4116-4a4c-90f8-83031ec8cd89@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/30/24 5:55 AM, Xing Guo wrote:
> I find there are some unnecessary load/store instructions being
> emitted by the JIT compiler.

Well spotted! All of these are obvious dead instructions and while LLVM
might be able to optimize them away there is no reason to create extra
work for the optimizer.

The patch looks good, applies and the tests passes.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2024-08-30 14:32:30 Re: bt Scankey in another contradictory case
Previous Message Bertrand Drouvot 2024-08-30 12:21:29 Re: define PG_REPLSLOT_DIR