<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 --- - Not supported instruction in Linux PPC Assembly Printer"
   href="http://llvm.org/bugs/show_bug.cgi?id=17155">17155</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Not supported instruction in Linux PPC Assembly Printer
          </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: PowerPC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>kai@redstar.de
          </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>Created <span class=""><a href="attachment.cgi?id=11163" name="attach_11163" title="IR file demonstrating the problem.">attachment 11163</a> <a href="attachment.cgi?id=11163&action=edit" title="IR file demonstrating the problem.">[details]</a></span>
IR file demonstrating the problem.

Compiling the attached bug.ll file with

llc -O0 -mcpu=pwr7 -filetype=obj bug.ll

results in the following error:

LLVM ERROR: Not supported instr: <MCInst 10 <MCOperand Reg:20> <MCOperand
Reg:20
<span class="quote">> <MCOperand Imm:12>></span >
Stack dump:
0.      Program arguments: llc -O0 -mcpu=pwr7 -filetype=obj bug.ll
1.      Running pass 'Function Pass Manager' on module 'bug.ll'.
2.      Running pass 'Linux PPC Assembly Printer' on function
'@_D3std7variant18
__unittestL1633_37FNeZv10__lambda30MFNbNffZm'

(The file is a reduced test case produced by LDC on module std.variant.)</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>