[llvm-bugs] [Bug 32850] New: ARM backend: Assetion Unknown addressing mode for CP reference in ARMConstantIslandPass.cpp!

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 28 15:00:57 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32850

            Bug ID: 32850
           Summary: ARM backend: Assetion Unknown addressing mode for CP
                    reference in ARMConstantIslandPass.cpp!
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: sabuasal at codeaurora.org
                CC: efriedma at codeaurora.org, kristof.beyls at arm.com,
                    llvm-bugs at lists.llvm.org

Created attachment 18381
  --> https://bugs.llvm.org/attachment.cgi?id=18381&action=edit
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

-- 
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/20170428/b1257cde/attachment.html>


More information about the llvm-bugs mailing list