[llvm-bugs] [Bug 49867] New: Unconditional crash with aarch64-simdinstr-opt enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 6 13:12:21 PDT 2021


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

            Bug ID: 49867
           Summary: Unconditional crash with aarch64-simdinstr-opt enabled
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: simonas+llvm.org at kazlauskas.me
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

; RUN: opt --aarch64-simdinstr-opt -mtriple=aarch64 < %s

define void @banana() {
  ret void
}

Crashes immediately every time with the following backtrace:

PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments:
/opt/compiler-explorer/clang-assertions-trunk/bin/opt -o ./output.s -S
--aarch64-simdinstr-opt -mtriple=aarch64 <source>
 #0 0x00005589de11be7c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x2f3ce7c)
 #1 0x00005589de119b44 llvm::sys::RunSignalHandlers()
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x2f3ab44)
 #2 0x00005589de119cb3 SignalHandler(int) Signals.cpp:0:0
 #3 0x00007fd89b0203c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
 #4 0x00005589dd45ac47
llvm::MachineModuleInfo::MachineModuleInfo(llvm::LLVMTargetMachine const*)
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x227bc47)
 #5 0x00005589dd45bc76
llvm::MachineModuleInfoWrapperPass::MachineModuleInfoWrapperPass(llvm::LLVMTargetMachine
const*) (/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x227cc76)
 #6 0x00005589dd45bca8 llvm::Pass*
llvm::callDefaultCtor<llvm::MachineModuleInfoWrapperPass>()
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x227cca8)
 #7 0x00005589dd8c741d llvm::PMTopLevelManager::schedulePass(llvm::Pass*)
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x26e841d)
 #8 0x00005589dbbdc940 main
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0x9fd940)
 #9 0x00007fd89aad10b3 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x270b3)
#10 0x00005589dbcb5cca _start
(/opt/compiler-explorer/clang-assertions-trunk/bin/opt+0xad6cca)
Compiler returned: 255 

https://llvm.godbolt.org/z/Wvc4TT3j3

-- 
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/20210406/12cc8bc4/attachment.html>


More information about the llvm-bugs mailing list