[clang] 5c24a1e - [CUDA] update constraints on NVPTX builtins to include PTX73 and 74.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 26 16:04:25 PDT 2021
Author: Artem Belevich
Date: 2021-08-26T16:01:57-07:00
New Revision: 5c24a1e1db63f1ac3a956458df5edf87fac7be49
URL: https://github.com/llvm/llvm-project/commit/5c24a1e1db63f1ac3a956458df5edf87fac7be49
DIFF: https://github.com/llvm/llvm-project/commit/5c24a1e1db63f1ac3a956458df5edf87fac7be49.diff
LOG: [CUDA] update constraints on NVPTX builtins to include PTX73 and 74.
Added:
Modified:
clang/include/clang/Basic/BuiltinsNVPTX.def
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/BuiltinsNVPTX.def b/clang/include/clang/Basic/BuiltinsNVPTX.def
index 3c96900136a40..907a99af532c3 100644
--- a/clang/include/clang/Basic/BuiltinsNVPTX.def
+++ b/clang/include/clang/Basic/BuiltinsNVPTX.def
@@ -39,7 +39,11 @@
#pragma push_macro("PTX70")
#pragma push_macro("PTX71")
#pragma push_macro("PTX72")
-#define PTX72 "ptx72"
+#pragma push_macro("PTX73")
+#pragma push_macro("PTX74")
+#define PTX74 "ptx74"
+#define PTX73 "ptx73|" PTX74
+#define PTX72 "ptx72|" PTX73
#define PTX71 "ptx71|" PTX72
#define PTX70 "ptx70|" PTX71
#define PTX65 "ptx65|" PTX70
@@ -815,3 +819,5 @@ TARGET_BUILTIN(__nvvm_cp_async_wait_all, "v", "", AND(SM_80,PTX70))
#pragma pop_macro("PTX70")
#pragma pop_macro("PTX71")
#pragma pop_macro("PTX72")
+#pragma pop_macro("PTX73")
+#pragma pop_macro("PTX74")
More information about the cfe-commits
mailing list