<html>
    <head>
      <base href="https://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 --- - ARM inline assembly causes a crash."
   href="https://llvm.org/bugs/show_bug.cgi?id=25330">25330</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ARM inline assembly causes a crash.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>rich@pennware.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15176" name="attach_15176" title="The .ll file.">attachment 15176</a> <a href="attachment.cgi?id=15176&action=edit" title="The .ll file.">[details]</a></span>
The .ll file.

The attached .ll file, which was generated from a bugpoint reduction of a
compiler crash while compiling the Linux kernel, causes llc to crash:

[~] dev% ~/llvm-dir/bin/llc bugpoint-reduced-simplified.ll
llc: /home/rich/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:632: const
llvm::SDValue& llvm::SDNode::getOperand(unsigned int) const: Assertion `Num <
NumOperands && "Invalid child # of SDNode!"' failed.
#0 0x19417a5 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/rich/llvm-dir/bin/llc+0x19417a5)
#1 0x1940886 llvm::sys::RunSignalHandlers()
(/home/rich/llvm-dir/bin/llc+0x1940886)
#2 0x1940aa4 (/home/rich/llvm-dir/bin/llc+0x1940aa4)
#3 0x37bf6100d0 __restore_rt (/lib64/libpthread.so.0+0x37bf6100d0)
#4 0x37bea348d7 __GI_raise (/lib64/libc.so.6+0x37bea348d7)
#5 0x37bea3653a __GI_abort (/lib64/libc.so.6+0x37bea3653a)
#6 0x37bea2d47d __assert_fail_base (/lib64/libc.so.6+0x37bea2d47d)
#7 0x37bea2d532 (/lib64/libc.so.6+0x37bea2d532)
#8 0x5e032c _init (/home/rich/llvm-dir/bin/llc+0x5e032c)
#9 0xc4bf66 (/home/rich/llvm-dir/bin/llc+0xc4bf66)
#10 0xc4ff55 (/home/rich/llvm-dir/bin/llc+0xc4ff55)
#11 0x10d770b llvm::SelectionDAGISel::DoInstructionSelection()
(/home/rich/llvm-dir/bin/llc+0x10d770b)
#12 0x10df839 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/home/rich/llvm-dir/bin/llc+0x10df839)
#13 0x10e3ffe llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function
const&) (/home/rich/llvm-dir/bin/llc+0x10e3ffe)
#14 0x10e5ab0
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/home/rich/llvm-dir/bin/llc+0x10e5ab0)
#15 0xc55564 (/home/rich/llvm-dir/bin/llc+0xc55564)
#16 0x18b7dd3 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/rich/llvm-dir/bin/llc+0x18b7dd3)
#17 0x18b841b llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/rich/llvm-dir/bin/llc+0x18b841b)
#18 0x69cd66 (/home/rich/llvm-dir/bin/llc+0x69cd66)
#19 0x661848 main (/home/rich/llvm-dir/bin/llc+0x661848)
#20 0x37bea1ffe0 __libc_start_main (/lib64/libc.so.6+0x37bea1ffe0)
#21 0x695417 _start (/home/rich/llvm-dir/bin/llc+0x695417)
Stack dump:
0.      Program arguments: /home/rich/llvm-dir/bin/llc
bugpoint-reduced-simplified.ll 
1.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2.      Running pass 'ARM Instruction Selection' on function
'@optidma_init_one'
Abort (core dumped)</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>