This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][5/5] Postpone expanding va_arg until pass_stdarg
- From: Michael Matz <matz at suse dot de>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: Richard Biener <rguenther at suse dot de>, Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 Feb 2015 09:26:50 +0100 (CET)
- Subject: Re: [PATCH][5/5] Postpone expanding va_arg until pass_stdarg
- Authentication-results: sourceware.org; auth=none
- References: <54E5BB06 dot 2080102 at mentor dot com> <54E5D0D2 dot 8080306 at mentor dot com> <alpine dot LSU dot 2 dot 11 dot 1502191400500 dot 28824 at zhemvz dot fhfr dot qr> <54E9D5E2 dot 3070805 at mentor dot com>
Hi,
On Sun, 22 Feb 2015, Tom de Vries wrote:
> Btw, I'm wondering if as run-time optimization we can tentatively set
> PROP_gimple_lva at the start of the gimple pass, and unset it in
> gimplify_va_arg_expr. That way we would avoid the loop in
> expand_ifn_va_arg_1 (over all bbs and gimples) in functions without
> va_arg.
That makes sense.
Ciao,
Michael.