[llvm-bugs] [Bug 24731] New: NVPTX: Invalid function names containing '.' are emitted

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 6 13:05:22 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24731

            Bug ID: 24731
           Summary: NVPTX: Invalid function names containing '.' are
                    emitted
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PTX
          Assignee: unassignedbugs at nondot.org
          Reporter: tobias at grosser.es
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The NVPTX backend happily generates code for the following IR:

define void @foo.bar() {
  ret void
}

However, the PTX code that contains a '.' is not accepted by the CUDA runtime
library linker. It would preferable if the NVPTX backend would verify the
function names and abort in case they are invalid in PTX assembly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150906/6a39c27c/attachment.html>


More information about the llvm-bugs mailing list