[LLVMbugs] [Bug 21551] New: ptx backend is producing invalid code for me

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 12 17:24:59 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21551

            Bug ID: 21551
           Summary: ptx backend is producing invalid code for me
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PTX
          Assignee: unassignedbugs at nondot.org
          Reporter: ryan.burn at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13329
  --> http://llvm.org/bugs/attachment.cgi?id=13329&action=edit
kernel file i'm running on

when I run "llc -mcpu=sm_35 kernel.ll -o kernel.ptx" on the attached LLVM IR,
the resulting ptx code is invalid. I get the following error when running ptxas
on it.

$ptxas -arch=sm_35 kernel.ptx 
ptxas kernel.ptx, line 9; fatal   : Parsing error near 'satyr_kernel': syntax
error
ptxas fatal   : Ptx assembly aborted due to errors

attached kernel.ll and kernel.ptx

-- 
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/20141113/7554f546/attachment.html>


More information about the llvm-bugs mailing list