[PATCH] D10586: Add HSAIL support

Matt Arsenault Matthew.Arsenault at amd.com
Mon Aug 3 08:17:21 PDT 2015


arsenm added a comment.

In http://reviews.llvm.org/D10586#216803, @pekka.jaaskelainen wrote:

> Can you please clarify me a bit where the actual device is needed/used (ATM only Kaveri) if the target is HSAIL, an "abstract machine"/IL? Just trying to get my head around on how the Clang/LLVM will work for HSAIL.
>
> If it's for the extensions, why builtins-hsail.cl assumes gcn-specific builtins are found in the output even though mcpu is not set in the test command line?


It's used for enabling extension and some performance hacks. kaveri enables gcn extensions, and disables a few things like negative offsets for addressing modes.


http://reviews.llvm.org/D10586







More information about the cfe-commits mailing list