diff options
author | Aiden Grossman <aidengrossman@google.com> | 2025-08-07 11:11:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-07 11:11:30 -0700 |
commit | 660555191b3e886a578f3d9bfdcb49877e1c5da0 (patch) | |
tree | ae4d86c7237ac29b7dec86a508d275a1ddc05411 /llvm/lib/BinaryFormat/DXContainer.cpp | |
parent | f7c6c7ce361b8664eee962f10803e92661582176 (diff) | |
download | llvm-660555191b3e886a578f3d9bfdcb49877e1c5da0.zip llvm-660555191b3e886a578f3d9bfdcb49877e1c5da0.tar.gz llvm-660555191b3e886a578f3d9bfdcb49877e1c5da0.tar.bz2 |
[Clang] Fix __cpuidex conflict with CUDA (#152556)
The landing of #126324 made it so that __has_builtin returns false for
aux triple builtins. CUDA offloading can sometimes compile where the
host is in the aux triple (ie x86_64). This patch explicitly carves out
NVPTX so that we do not run into redefinition errors.
Diffstat (limited to 'llvm/lib/BinaryFormat/DXContainer.cpp')
0 files changed, 0 insertions, 0 deletions