pgsql: jit: Remove redundancies in expression evaluation code generatio - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: jit: Remove redundancies in expression evaluation code generatio
Date
Msg-id E1izutT-0007xu-Cl@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix typo in proc.c
Next
From: Jeff Davis
Date:
Subject: pgsql: Introduce TupleHashTableHash() and LookupTupleHashEntryHash().