Re: [PATCH 5/5] address-taken: optimize SIMT privatized variables

2017-03-23 Thread Jakub Jelinek
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

[PATCH 5/5] address-taken: optimize SIMT privatized variables

2017-03-22 Thread Alexander Monakov
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 var