[Libclc-dev] [PATCH] Add image attribute getter builtins

Zoltán Gilián zoltan.gilian at gmail.com
Tue Jun 9 23:43:26 PDT 2015


> What does this work look like? I don’t think adding a pseudo intrinsic
that the backend handles is a good idea. It would be preferable to have
target specific intrinsics implementing these functions in the library.

The intrinsic is lowered in a target-specific way (currently working on the
r600 target), so you are right. I'll fix this.

On Tue, Jun 9, 2015 at 6:28 PM, Matt Arsenault <arsenm2 at gmail.com> wrote:

>
> On Jun 9, 2015, at 1:56 AM, Zoltán Gilián <zoltan.gilian at gmail.com> wrote:
>
> > I’m not keeping track of the back-end, but has work been done there to
> support this?
>
> Yes, but it is a work in progress at the moment.
>
>
> What does this work look like? I don’t think adding a pseudo intrinsic
> that the backend handles is a good idea. It would be preferable to have
> target specific intrinsics implementing these functions in the library.
>
> -Matt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20150610/bef45990/attachment-0001.html>


More information about the Libclc-dev mailing list