<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 - Unconditional crash with aarch64-simdinstr-opt enabled"
   href="https://bugs.llvm.org/show_bug.cgi?id=49867">49867</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unconditional crash with aarch64-simdinstr-opt enabled
          </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>All
          </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: AArch64
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>simonas+llvm.org@kazlauskas.me
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>arnaud.degrandmaison@arm.com, llvm-bugs@lists.llvm.org, smithp352@googlemail.com, Ties.Stuij@arm.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>; 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 <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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 

<a href="https://llvm.godbolt.org/z/Wvc4TT3j3">https://llvm.godbolt.org/z/Wvc4TT3j3</a></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>