[Clang] Convergent Attribute

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Mon May 9 16:33:28 PDT 2016


----- Original Message -----
> From: "Anastasia Stulova via cfe-commits" <cfe-commits at lists.llvm.org>
> To: "Matt Arsenault" <Matthew.Arsenault at amd.com>, "Ettore Speziale" <speziale.ettore at gmail.com>, "Aaron Ballman"
> <aaron at aaronballman.com>
> Cc: "nd" <nd at arm.com>, "Clang Commits" <cfe-commits at lists.llvm.org>
> Sent: Monday, May 9, 2016 12:39:19 PM
> Subject: RE: [Clang] Convergent Attribute
> 
> Since it's not a part of any official spec we could of course make it
> accepted with anything.
> 
> Just out of curiosity what other programming models supported by
> Clang do you think this attribute would be useful for?

CUDA? In any case, I don't see how the restriction helps users, and the attribute at the IR level has a well-defined meaning regardless. If a user were to have a use case, they'd simply find the restriction arbitrary and frustrating.

 -Hal

> 
> Anastasia
> 
> -----Original Message-----
> From: Matt Arsenault [mailto:Matthew.Arsenault at amd.com]
> Sent: 07 May 2016 00:37
> To: Anastasia Stulova; Ettore Speziale; Aaron Ballman
> Cc: nd; Clang Commits
> Subject: Re: [Clang] Convergent Attribute
> 
> On 05/06/2016 12:11 PM, Anastasia Stulova via cfe-commits wrote:
> > I was just wondering whether it would make sense to restrict the
> > usage of the attribute to OpenCL language i.e. to add  "let
> > LangOpts = [OpenCL];" in the attribute definition.
> This seems to be a pointless arbitrary restriction to me
> 
> -Matt
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the cfe-commits mailing list