[cfe-commits] [PATCH] OpenCL inline calls have internal linkage
Tanya Lattner
lattner at apple.com
Thu Jun 14 11:37:57 PDT 2012
On Jun 14, 2012, at 4:15 AM, Anton Lokhmotov wrote:
> Hi Tanya,
>
>> In OpenCL inline calls without a specified storage class should have
>> internal linkage. The attached patch makes this modification and adds a
>> test case.
>
> If this is OpenCL 1.2 specific, it should be guarded on a new language
> option OpenCL_1_2 [1].
>
> +
> +// CHECK: define internal fastcc i32 @bar(i32 %X) nounwind readnone
> inlinehint
> +
>
> Please correct me if I'm wrong but isn't fastcc an x86-specific calling
> convention? In this case, a regular expression should be used to allow this
> check passing on a different architecture.
Yes. I can change that.
-Tanya
>
> Many thanks,
> Anton.
>
> [1] http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-June/022116.html
>
>
>
More information about the cfe-commits
mailing list