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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to