<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - PTX backend should discard .ident, as it is not supported by PTX ISA"
   href="http://llvm.org/bugs/show_bug.cgi?id=17553">17553</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PTX backend should discard .ident, as it is not supported by PTX ISA
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: PTX
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>maemarcus@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ 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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>