aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Cuda.cpp
diff options
context:
space:
mode:
authorBrendon Cahoon <brendon.cahoon@amd.com>2021-06-08 16:54:42 -0400
committerBrendon Cahoon <brendon.cahoon@amd.com>2021-06-08 21:15:35 -0400
commit294efbbd3e3d55671ef8b220c231a2807c38eefe (patch)
tree72b2dd38c18a72a6f1c48730fd27981ee477c1a5 /clang/lib/Basic/Cuda.cpp
parent8051a48e65cc78ccedc9bbd590dbc34a21a07184 (diff)
downloadllvm-294efbbd3e3d55671ef8b220c231a2807c38eefe.zip
llvm-294efbbd3e3d55671ef8b220c231a2807c38eefe.tar.gz
llvm-294efbbd3e3d55671ef8b220c231a2807c38eefe.tar.bz2
Reland "[AMDGPU] Add gfx1013 target"
This reverts commit 211e584fa2a4c032e4d573e7cdbffd622aad0a8f. Fixed a use-after-free error that caused the sanitizers to fail.
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
-rw-r--r--clang/lib/Basic/Cuda.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/Cuda.cpp b/clang/lib/Basic/Cuda.cpp
index 79cc6c9..fa7f78a 100644
--- a/clang/lib/Basic/Cuda.cpp
+++ b/clang/lib/Basic/Cuda.cpp
@@ -105,6 +105,7 @@ static const CudaArchToStringMap arch_names[] = {
GFX(1010), // gfx1010
GFX(1011), // gfx1011
GFX(1012), // gfx1012
+ GFX(1013), // gfx1013
GFX(1030), // gfx1030
GFX(1031), // gfx1031
GFX(1032), // gfx1032