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. Many thanks, Anton. [1] http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-June/022116.html _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
