Author: jvesely Date: Tue Feb 6 10:44:35 2018 New Revision: 324370 URL: http://llvm.org/viewvc/llvm-project?rev=324370&view=rev Log: vstore_half: Make sure the helper function is always inline
Reviewer: Jeroen Ketema <j.ket...@xs4all.nl> Signed-off-by: Jan Vesely <jan.ves...@rutgers.edu> Modified: libclc/trunk/generic/lib/shared/vstore.cl Modified: libclc/trunk/generic/lib/shared/vstore.cl URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/lib/shared/vstore.cl?rev=324370&r1=324369&r2=324370&view=diff ============================================================================== --- libclc/trunk/generic/lib/shared/vstore.cl (original) +++ libclc/trunk/generic/lib/shared/vstore.cl Tue Feb 6 10:44:35 2018 @@ -59,7 +59,7 @@ VSTORE_ADDR_SPACES(float) #define DECLARE_HELPER(STYPE, AS, builtin) void __clc_vstore_half_##STYPE##_helper##AS(STYPE, AS half *); #else #define DECLARE_HELPER(STYPE, AS, __builtin) \ -inline void __clc_vstore_half_##STYPE##_helper##AS(STYPE s, AS half *d) \ +_CLC_DEF void __clc_vstore_half_##STYPE##_helper##AS(STYPE s, AS half *d) \ { \ __builtin(s, d); \ } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits