jit: Remove redundancies in expression evaluation code generation.

Andres Freund <andres@anarazel.de>

Commit: e6f86f8dd9835b18890fd8e9868884dec37e3bd7
Author: Andres Freund <andres@anarazel.de>
Date: 2020-02-07T04:01:23Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/jit/llvm/llvmjit_expr.c modified +124 −153

Discussion