[libclc] Add missing clc_lgamma_r with generic address space pointer arg (#146495)

There is no change to amdgcn--amdhsa.bc and nvptx64--nvidiacl.bc because
__opencl_c_generic_address_space is not defined for them.
This commit is contained in:
Wenju He
2025-07-02 08:28:01 +08:00
committed by GitHub
parent 93fe52f19e
commit b0e6faae08

View File

@@ -611,3 +611,10 @@ _CLC_V_V_VP_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, half, __clc_lgamma_r, half,
#define __CLC_BODY <clc_lgamma_r.inc>
#include <clc/math/gentype.inc>
#undef __CLC_ADDRSPACE
#if _CLC_DISTINCT_GENERIC_AS_SUPPORTED
#define __CLC_ADDRSPACE generic
#define __CLC_BODY <clc_lgamma_r.inc>
#include <clc/math/gentype.inc>
#undef __CLC_ADDRSPACE
#endif