[all-commits] [llvm/llvm-project] 81f445: [clang-sycl-linker][offload] Set TheImageKind base...
Yury Plyakhin via All-commits
all-commits at lists.llvm.org
Wed Feb 11 10:21:44 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81f445b7df94de485240b21034682f22432729c4
https://github.com/llvm/llvm-project/commit/81f445b7df94de485240b21034682f22432729c4
Author: Yury Plyakhin <yury.plyakhin at intel.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/test/Driver/clang-sycl-linker-test.cpp
M clang/test/lit.cfg.py
M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
M llvm/lib/Object/OffloadBinary.cpp
M llvm/tools/llvm-objdump/OffloadDump.cpp
Log Message:
-----------
[clang-sycl-linker][offload] Set TheImageKind based on IsAOTCompileNeeded flag (#180269)
Previously, TheImageKind was set to IMG_None and relied on a runtime
heuristic to determine the correct image type. This commit sets it
explicitly to IMG_Object for AOT-compiled images and IMG_SPIRV for
SPIR-V images based on the IsAOTCompileNeeded flag.
Also it adds test for this change, which required minor changes in
OffloadBinary and OffloadDump.
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