[all-commits] [llvm/llvm-project] 48e893: [Clang] Determine offloading architectures at Tool...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Jun 26 09:42:04 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48e893792a33984abace86ef05745985a42b6dc7
https://github.com/llvm/llvm-project/commit/48e893792a33984abace86ef05745985a42b6dc7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
[Clang] Determine offloading architectures at Toolchain creation (#145799)
Summary:
Previously we had this weird disconnect where we would get some
offloading architectures beforehand and some later. This patch changes
it to where we just generate this information at Toolchain creation.
There's a few edge cases that will need to be cleaned up. Namely, we
don't handle the strange SPIR-V handling that mixes two separate
toolchains and we needed a pre-check to reject errors when inferring the
toolchain from `--offload-arch` in OpenMP.
Possible we could also use this information for some host defines if
needed.
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