Re: Option overriding in the offloading code path (was: [nvptx] -freorder-blocks-and-partition, -freorder-functions)

2015-02-25 Thread Jakub Jelinek
On Wed, Feb 25, 2015 at 11:28:12AM +0100, Thomas Schwinge wrote: Am I on the right track with my assumption that it is correct that nvptx.c:nvptx_option_override is not invoked in the offloading code path, so we'd need a new target hook (?) to consolidate/override the options in this scenario?

Option overriding in the offloading code path (was: [nvptx] -freorder-blocks-and-partition, -freorder-functions)

2015-02-25 Thread Thomas Schwinge
Hi! On Wed, 11 Feb 2015 15:50:20 +0100, I wrote: On Wed, 11 Feb 2015 15:44:26 +0100, I wrote: If -freorder-blocks-and-partition is active, this results in PTX code such as: [...] Such partitioning might not make a lot of sense for the virtual ISA that PTX is, but disabling it in