pgsql: jit: Remove redundancies in expression evaluation code generatio

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: jit: Remove redundancies in expression evaluation code generatio
Date: 2020-02-07 04:05:27
Message-ID: E1izutT-0007xu-Cl@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

jit: Remove redundancies in expression evaluation code generation.

This merges the code emission for a number of opcodes by handling the
behavioural difference more locally. This reduces code, and also
improves the generated code a bit in some cases, by removing redundant
constants.

Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e6f86f8dd9835b18890fd8e9868884dec37e3bd7

Modified Files
--------------
src/backend/jit/llvm/llvmjit_expr.c | 277 ++++++++++++++++--------------------
1 file changed, 124 insertions(+), 153 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2020-02-07 04:44:35 pgsql: Introduce TupleHashTableHash() and LookupTupleHashEntryHash().
Previous Message Michael Paquier 2020-02-07 03:42:31 pgsql: Fix typo in proc.c