[LLVMbugs] [Bug 17553] New: PTX backend should discard .ident, as it is not supported by PTX ISA
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 11 09:04:15 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17553
Bug ID: 17553
Summary: PTX backend should discard .ident, as it is not
supported by PTX ISA
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: PTX
Assignee: unassignedbugs at nondot.org
Reporter: maemarcus at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat ident.ll
; ModuleID = '__kernelgen_main_module'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64"
target triple = "nvptx64-nvidia-cuda"
module asm "\09.ident\09\22GCC: (GNU) 4.8.2 20130912 (prerelease) LLVM:
3.4svn\22"
$ llc ident.ll -o ident.ptx
$ cat ident.ptx
//
// Generated by LLVM NVPTX Back-End
//
.version 3.1
.target sm_20
.address_size 64
// Start of file scope inline assembly
.ident "GCC: (GNU) 4.8.2 20130912 (prerelease) LLVM: 3.4svn"
// End of file scope inline assembly
$ ptxas ident.ll
ptxas ident.ll, line 1; error : Missing .version directive at start of file
'ident.ll'
ptxas ident.ll, line 1; error : Missing .target directive at start of file
'ident.ll'
ptxas ident.ll, line 1; fatal : Parsing error near ';': syntax error
ptxas fatal : Ptx assembly aborted due to errors
--
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/20131011/8fc410ac/attachment.html>
More information about the llvm-bugs
mailing list