[all-commits] [llvm/llvm-project] befb52: [Clang] Remove use of 'temporary' toolchains for o...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Mar 14 09:08:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: befb52db94cc63558981baac5e58d86ed2ec1f37
https://github.com/llvm/llvm-project/commit/befb52db94cc63558981baac5e58d86ed2ec1f37
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-03-14 (Fri, 14 Mar 2025)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/offload-Xarch.c
Log Message:
-----------
[Clang] Remove use of 'temporary' toolchains for offload deduction (#131332)
Summary:
We need a toolchain to get the GPU architectures when compiling with
OpenMP. This kind of breaks the toolchain model because these are cached
all over the place. Instead of making a new one, just create both of
them unconditionally. It's not like this is saving any work since we
still needed to create both toolchains in the earlier case.
Fixes: https://github.com/llvm/llvm-project/issues/131325
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