[all-commits] [llvm/llvm-project] a7d936: [Clang] Rework creating offloading toolchains (#12...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Jul 21 16:37:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7d93653a6712d8a374a2776853057b03181c12a
https://github.com/llvm/llvm-project/commit/a7d93653a6712d8a374a2776853057b03181c12a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/ToolChain.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/test/Driver/amdgpu-hip-system-arch.c
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/hip-inputs.hip
M clang/test/Driver/hip-invalid-target-id.hip
M clang/test/Driver/hip-options.hip
M clang/test/Driver/invalid-offload-options.cpp
M clang/test/Driver/nvptx-cuda-system-arch.c
A clang/test/Driver/offload-target.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/openmp-system-arch.c
Log Message:
-----------
[Clang] Rework creating offloading toolchains (#125556)
Summary:
This patch reworks how we create offloading toolchains. Previously we
would handle this separately for all the different kinds. This patch
instead changes this to use the target triple and the offloading kind to
determine the proper toolchain. In the old case where the user only
passes `--offload-arch` we instead infer the triple from the passed
arguments. This is a pretty major overhaul but currently passes all the
clang tests with only minor changes to error messages.
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