[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] src/comp.c: Use constructor expressions when possible.
From: |
Andrea Corallo |
Subject: |
Re: [PATCH] src/comp.c: Use constructor expressions when possible. |
Date: |
Fri, 14 Oct 2022 23:35:10 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Vibhav Pant <vibhavp@gmail.com> writes:
> Hello,
> The following patch adds support for using constructor expression to
> initialize structs/unions/array types in libgccjit, and if available
> uses them to initialize the Lisp_Object struct in (emit_coerce), and
> the argument array in emit_limple_call_ref.
>
> I have also pushed these changes to the branch feature/comp-use-ctors.
>
> Best,
> Vibhav
Hi Vibhav,
thanks for the patch, could you show how the generated pseudo C code
generated with native-comp-debug = 2 changes with this patch for the
impacted cases.
Thanks
Andrea