diff options
author | Fabian Ritter <fabian.ritter@amd.com> | 2025-02-19 10:11:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-19 10:11:48 +0100 |
commit | 029c8e783d17d55541b308ee6db5429d54cb5153 (patch) | |
tree | 0695f5dbb5416399178558323e2b51010dda1e03 /clang/lib/Basic/Cuda.cpp | |
parent | f3f4afe43f4e0f2a07bfb53ba70507e663c9996c (diff) | |
download | llvm-029c8e783d17d55541b308ee6db5429d54cb5153.zip llvm-029c8e783d17d55541b308ee6db5429d54cb5153.tar.gz llvm-029c8e783d17d55541b308ee6db5429d54cb5153.tar.bz2 |
[AMDGPU][clang] Replace gfx940 and gfx941 with gfx942 in clang (#126762)
gfx940 and gfx941 are no longer supported. This is one of a series of
PRs to remove them from the code base.
This PR removes all occurrences of gfx940/gfx941 from clang that can be
removed without changes in the llvm directory. The
target-invalid-cpu-note/amdgcn.c test is not included here since it
tests a list of targets that is defined in
llvm/lib/TargetParser/TargetParser.cpp.
For SWDEV-512631
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
-rw-r--r-- | clang/lib/Basic/Cuda.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Basic/Cuda.cpp b/clang/lib/Basic/Cuda.cpp index 1bfec0b..f45fb0e 100644 --- a/clang/lib/Basic/Cuda.cpp +++ b/clang/lib/Basic/Cuda.cpp @@ -124,8 +124,6 @@ static const OffloadArchToStringMap arch_names[] = { GFX(90a), // gfx90a GFX(90c), // gfx90c {OffloadArch::GFX9_4_GENERIC, "gfx9-4-generic", "compute_amdgcn"}, - GFX(940), // gfx940 - GFX(941), // gfx941 GFX(942), // gfx942 GFX(950), // gfx950 {OffloadArch::GFX10_1_GENERIC, "gfx10-1-generic", "compute_amdgcn"}, |