[llvm] [NVPTX] Fixing debug symbols for ptx target emitting (PR #101891)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 18 04:52:35 PDT 2024


================
@@ -0,0 +1,42 @@
+; RUN: llc -mtriple=nvptx64-nvidia-cuda -mcpu=sm_86 < %s | FileCheck %s
+
+; CHECK: .global .align 1 .b8 __func___$__Z10foo_kernelv
+
+; ModuleID = 'test_module'
+source_filename = "test_module.cu"
+target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"
+target triple = "nvptx64-nvidia-cuda"
+
----------------
jhuber6 wrote:

```suggestion
```
Unnecessary.

https://github.com/llvm/llvm-project/pull/101891


More information about the llvm-commits mailing list