model-writtenrun 2592 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Daniel Gustafsson opened the thread with executor optimizations extracted from Andres Freund's JIT expression-caching work: specialized strict-function and aggregate steps and separate return/no-return termination steps, reporting small performance improvements in #1.
- Heikki Linnakangas questioned whether LLVM should already optimize strict-function argument checks in #2, and David Rowley requested JIT-specific measurements in #3; Andres clarified that strict-function specialization primarily helps interpreted execution, while explicit no-return termination helps JIT code avoid computing unused results in #4, which Daniel elaborated on in #5.
- After an eight-month gap, Andreas Karlsson reported successful application, compilation, and tests, endorsed the implementation, and requested separate patches for the two optimizations in #6; Daniel supplied that split in #8 and deferred generating void-returning functions because the extra complexity did not seem justified.
- Andreas supplied a style delta for the no-return interpreter path in #9, then reported no measurable performance change for termination handling but roughly 1% improvement for strict-function specialization and considered both patches ready in #10.
- Daniel rebased the series and accepted Andreas's explicit Datum cast in #11, but retained the out_error label to avoid possible static-analyzer warnings; Andreas accepted that decision and reiterated readiness in #12.
- Following another delay, Daniel posted a rebased series in #13, reporting that the small performance benefit remained, and Andreas reaffirmed his support in #14.
- Daniel committed the return/no-return changes as 8dd7c7cd0a and strict-function optimizations as d35d32d711 from #13, moving the ExecBuildParamSetEqual opcode replacement into the first commit; together the commits preserve all submitted code changes.
- Daniel confirmed both commits had landed in #16, completing the submitted series; generating void-returning functions remained a separately deferred idea.