Description
#4207 changed the CUDA and ROCm backends to use remangled versions of libspirv-nvptx64--nvidiacl.bc and libspirv-amdgcn--amdhsa.bc respectively. Additionally, with #4345 the libclc variant used by the CUDA backend is system specific. However, if the libclc variants are not found, the resulting error message still reads:
cannot find 'libspirv-nvptx64--nvidiacl.bc'; provide path to libspirv library via '-fsycl-libspirv-path', or pass '-fno-sycl-libspirv' to build without linking with libspirv
This does not convey the change in used libclc bitcode files. Note that the ROCm backend currently uses the exact same error message as stated above, despite using a remangled variant of libspirv-amdgcn--amdhsa.bc.
The error messages should reflect that it is looking for remangled variants of the libclc bitcode files, preferably specifying the exact name of the file it was unable to find.