Nick Sarnie 05c76e78dd
[clang][Driver][OpenMP][SPIR-V] Fix SPIR-V OpenMP DeviceRTL expected file name (#141855)
The option name to specify the path is `--libomptarget-spirv-bc-path` so
the existing error gives an invalid option name
(`--libomptarget-spirv64-bc-path`) when it can't find the file. Also the
expected file name is weird, we expect the file name to be
`libomptarget-spirv64.bc`. and use the same prefix `spirv64` to suggest
the option to the user.

Also the `nvptx` triple is `nvptx64` and the option/filename there is
just `nvptx`, so we should be consistent.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
2025-05-29 16:03:51 +00:00
..