[all-commits] [llvm/llvm-project] 2bf58f: [Clang] Suppress missing architecture error when d...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jul 31 12:42:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2bf58f5d27a233e63e58d644ff7aff126ee99aa7
https://github.com/llvm/llvm-project/commit/2bf58f5d27a233e63e58d644ff7aff126ee99aa7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/test/Driver/cuda-cross-compiling.c
M clang/tools/clang-nvlink-wrapper/ClangNVLinkWrapper.cpp
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/startup/gpu/CMakeLists.txt
Log Message:
-----------
[Clang] Suppress missing architecture error when doing LTO (#100652)
Summary:
The `nvlink-wrapper` can do LTO now, which means we can still create
some LLVM-IR without needing an architecture. In the case that we try to
invoke `nvlink` internally, that will still fail. This patch simply
defers the error until later so we can use `--lto-emit-llvm` to get the
IR without specifying an architecture.
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