[all-commits] [llvm/llvm-project] 05c76e: [clang][Driver][OpenMP][SPIR-V] Fix SPIR-V OpenMP ...
Nick Sarnie via All-commits
all-commits at lists.llvm.org
Thu May 29 09:04:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 05c76e78dd3e673dff90e3e5463ac27f3d46f9aa
https://github.com/llvm/llvm-project/commit/05c76e78dd3e673dff90e3e5463ac27f3d46f9aa
Author: Nick Sarnie <nick.sarnie at intel.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
A clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv.bc
R clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv64.bc
M clang/test/Driver/spirv-openmp-toolchain.c
Log Message:
-----------
[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 at intel.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list