You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the correct mangled name should be _Z42__spirv_GenericCastToPtrExplicit_ToPrivatePU3AS4vi
This is causing name mismatch if a variant of libclc libspirv that also use 4 as generic addrspace is linked to the device code via -mlink-builtin-bitcode option before llvm-link step.
Please advise if this issue should be fixed in SYCL FE.
-fsycl-targets=amdgcn-amd-amdhsa and -fsycl-targets=nvptx64-nvidia-cuda don't have this issue because their flat address space is 0.
Describe the bug
When test sycl_cts/address_space_core is compiled with spir64 target, __spirv_GenericCastToPtrExplicit_ToPrivate builtin in device code is mangled as
However, the correct mangled name should be _Z42__spirv_GenericCastToPtrExplicit_ToPrivatePU3AS4vi
This is causing name mismatch if a variant of libclc libspirv that also use 4 as generic addrspace is linked to the device code via -mlink-builtin-bitcode option before llvm-link step.
Please advise if this issue should be fixed in SYCL FE.
-fsycl-targets=amdgcn-amd-amdhsa
and-fsycl-targets=nvptx64-nvidia-cuda
don't have this issue because their flat address space is 0.To reproduce
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: