[llvm] [NVPTX] Fix DWARF address space for globals (PR #122715)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 10:46:18 PST 2025
================
@@ -0,0 +1,25 @@
+; RUN: llc < %s -march=nvptx64 | FileCheck %s
+
+; Test that translateToNVVMDWARFAddrSpace() function translates NVVM IR address space
+; value `Shared` (3) to the corresponding DWARF DW_AT_address_class attributeĀ for PTX.
----------------
alexey-bataev wrote:
Is this correct, maybe 8, not 3?
https://github.com/llvm/llvm-project/pull/122715
More information about the llvm-commits
mailing list