[PATCH] Adding support for NoDuplicate function attribute in CLang

Aaron Ballman aaron at aaronballman.com
Wed Nov 20 16:11:20 PST 2013


On Wed, Nov 20, 2013 at 7:01 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> If this is supported by LLVM for all platforms, I don't see a good reason to
> restrict it to just OpenCL. Any hardware might have a barrier instruction,
> and if it does, we'd want the noduplicate behavior there.

That's fine by me; I would say it should go under the clang namespace
for the C++11 attribute then.

~Aaron



More information about the cfe-commits mailing list