This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 5/5] address-taken: optimize SIMT privatized variables
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Alexander Monakov <amonakov at ispras dot ru>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 23 Mar 2017 11:48:09 +0100
- Subject: Re: [PATCH 5/5] address-taken: optimize SIMT privatized variables
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jakub at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 8EB2261E7C
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8EB2261E7C
- References: <1490197595-31938-1-git-send-email-amonakov@ispras.ru> <1490197595-31938-6-git-send-email-amonakov@ispras.ru>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Mar 22, 2017 at 06:46:35PM +0300, Alexander Monakov wrote:
> This patch implements promotion of SIMT private variables if GOMP_SIMT_ENTER
> is the only remaining statement where their address is taken, by handling it
> similar to ASAN_MARK.
>
> To avoid rebuilding GOMP_SIMT_ENTER statement from scratch, set argument
> slot to a null pointer when the corresponding variable is optimized.
>
> * tree-ssa.c (execute_update_addresses_taken): Handle GOMP_SIMT_ENTER.
Ok for trunk (if the rest is approved).
Jakub