[cfe-commits] [PATCH] OpenCL inline calls have internal linkage
Anton.Lokhmotov at arm.com
Thu Jun 14 04:15:15 PDT 2012
> 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 .
+// CHECK: define internal fastcc i32 @bar(i32 %X) nounwind readnone
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.
More information about the cfe-commits