<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 backend: Assetion Unknown addressing mode for CP reference in ARMConstantIslandPass.cpp!"
   href="https://bugs.llvm.org/show_bug.cgi?id=32850">32850</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ARM backend: Assetion Unknown addressing mode for CP reference in ARMConstantIslandPass.cpp!
          </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>enhancement
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>sabuasal@codeaurora.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>efriedma@codeaurora.org, kristof.beyls@arm.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=18381" name="attach_18381" title="test case that crashes hile creating a constant island, ARM backend.">attachment 18381</a> <a href="attachment.cgi?id=18381&action=edit" title="test case that crashes hile creating a constant island, ARM backend.">[details]</a></span>
test case that crashes hile creating a constant island, ARM backend.

Command to reproduce:

llc test_case_arm_const_island.ll

Error:
"
Unknown addressing mode for CP reference!
UNREACHABLE executed at
/prj/llvm-arm/home/nightly/src/community-mainline/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:778!
#0 0x00000000013ff554 (llc+0x13ff554)
#1 0x00000000013ff8c6 (llc+0x13ff8c6)
#2 0x00007f03d54eb330 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#3 0x00007f03d3ee2c37 gsignal
/build/eglibc-oGUzwX/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#4 0x00007f03d3ee6028 abort
/build/eglibc-oGUzwX/eglibc-2.19/stdlib/abort.c:91:0
#5 0x00000000013a933d (llc+0x13a933d)
#6 0x00000000006631be (llc+0x6631be)
#7 0x0000000000bbc335 (llc+0xbbc335)
#8 0x0000000000e8a2d4 (llc+0xe8a2d4)
#9 0x0000000000e8a523 (llc+0xe8a523)
#10 0x0000000000e8aa63 (llc+0xe8aa63)
#11 0x00000000005e17f1 (llc+0x5e17f1)
#12 0x00000000005de81b (llc+0x5de81b)
#13 0x00007f03d3ecdf45 __libc_start_main
/build/eglibc-oGUzwX/eglibc-2.19/csu/libc-start.c:321:0
#14 0x00000000005dcc6d (llc+0x5dcc6d)
Stack dump:
0.      Program arguments: llc test_case_arm_const_island.ll -o /tmp/a.out
1.      Running pass 'Function Pass Manager' on module
'test_case_arm_const_island.ll'.
2.      Running pass 'ARM constant island placement and branch shortening pass'
on function '@do_more_things'"

This might be similar to PR:30470</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>