https://github.com/LewisCrawford updated
https://github.com/llvm/llvm-project/pull/138706
>From 8bbb3f88048e8041e79d609c982b11ba75199e0e Mon Sep 17 00:00:00 2001
From: Lewis Crawford
Date: Tue, 6 May 2025 15:16:39 +
Subject: [PATCH 1/3] [NVPTX] Add errors for incorrect CUDA addrpaces
The C
@@ -1399,19 +1399,27 @@ void NVPTXAsmPrinter::emitFunctionParamList(const
Function *F, raw_ostream &O) {
if (PTy) {
O << "\t.param .u" << PTySizeInBits << " .ptr";
+bool IsCUDA = static_cast(TM).getDrvInterface()
==
+ NVPTX::CUDA;
https://github.com/LewisCrawford updated
https://github.com/llvm/llvm-project/pull/138706
>From 8bbb3f88048e8041e79d609c982b11ba75199e0e Mon Sep 17 00:00:00 2001
From: Lewis Crawford
Date: Tue, 6 May 2025 15:16:39 +
Subject: [PATCH 1/2] [NVPTX] Add errors for incorrect CUDA addrpaces
The C
@@ -1399,19 +1399,27 @@ void NVPTXAsmPrinter::emitFunctionParamList(const
Function *F, raw_ostream &O) {
if (PTy) {
O << "\t.param .u" << PTySizeInBits << " .ptr";
+bool IsCUDA = static_cast(TM).getDrvInterface()
==
+ NVPTX::CUDA;