postgresql/src/backend/jit/llvm
Andres Freund 5da871bfa1 jit: Correct parameter type for generated expression evaluation functions.
clang only uses the 'i1' type for scalar booleans, not for pointers to
booleans (as the pointer might be pointing into a larger memory
allocation). Therefore a pointer-to-bool needs to the "storage" boolean.

There's no known case of wrong code generation due to this, but it seems quite
possible that it could cause problems (see e.g. 72559438f9).

Author: Andres Freund
Discussion: https://postgr.es/m/20201207212142.wz5tnbk2jsaqzogb@alap3.anarazel.de
Backpatch: 11-, where jit support was added
2020-12-07 19:34:13 -08:00
..
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
llvmjit.c jit: Add support for LLVM 12. 2020-11-09 20:01:33 -08:00
llvmjit_deform.c Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
llvmjit_error.cpp Update copyrights for 2020 2020-01-01 12:21:45 -05:00
llvmjit_expr.c jit: Correct parameter type for generated expression evaluation functions. 2020-12-07 19:34:13 -08:00
llvmjit_inline.cpp llvmjit: Fix building against LLVM 11 by removing unnecessary include. 2020-05-28 15:24:28 -07:00
llvmjit_types.c Move resolution of AlternativeSubPlan choices to the planner. 2020-09-27 12:51:28 -04:00
llvmjit_wrap.cpp llvmjit: Work around bug in LLVM 3.9 causing crashes after 72559438f9. 2020-10-15 18:17:00 -07:00