On Tue, Oct 21, 2014 at 12:53 PM, Bernd Schmidt <ber...@codesourcery.com> wrote: > On 10/21/2014 10:18 AM, Richard Biener wrote: >> >> So with this restriction I wonder why it didn't make sense to go the >> HSA "backend" route emitting PTX from a GIMPLE SSA pass. This >> would have avoided the LTO dance as well ... > > > Quite simple - there isn't an established way to do this. If I'd known you > were doing something like this when I started the work I might have looked > into that approach.
Ah, I see. I think having both ways now is good so we can compare pros and cons in practice (and make further targets follow the better approach if there is one). Richard. > > Bernd >