[all-commits] [llvm/llvm-project] 0ece13: [Clang][Driver] Enable offloadlib option for clang...
jinge90 via All-commits
all-commits at lists.llvm.org
Mon Oct 27 18:10:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ece134031c5e442103db25985c4a36b338127bb
https://github.com/llvm/llvm-project/commit/0ece134031c5e442103db25985c4a36b338127bb
Author: jinge90 <ge.jin at intel.com>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/sycl.c
Log Message:
-----------
[Clang][Driver] Enable offloadlib option for clang-cl (#162980)
--[no-]offloadlib option is used by rocm and cuda toolchain to
enable/disable device libraries in linking phase for device code. It
makes sense to re-use this option in SYCL for similar purpose and since
clang driver supports SYCL in CL compatibility mode, we also need to
enable this option in CL compatibility mode.
---------
Signed-off-by: jinge90 <ge.jin 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