<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 - LLVM 12 regression: Cannot select: intrinsic %llvm.aarch64.neon.fminnmv"
   href="https://bugs.llvm.org/show_bug.cgi?id=49401">49401</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM 12 regression: Cannot select: intrinsic %llvm.aarch64.neon.fminnmv
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </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>andrew@ziglang.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24583" name="attach_24583" title="test.ll.gz">attachment 24583</a> <a href="attachment.cgi?id=24583&action=edit" title="test.ll.gz">[details]</a></span>
test.ll.gz

Steps to reproduce:

$ ~/local/llvm12-release/bin/llc -o test.o test.ll -filetype=obj
-mtriple=aarch64-unknown-linux-musl
LLVM ERROR: Cannot select: intrinsic %llvm.aarch64.neon.fminnmv
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: /home/andy/local/llvm12-release/bin/llc -o test.o
test.ll -filetype=obj -mtriple=aarch64-unknown-linux-musl
1.      Running pass 'Function Pass Manager' on module 'test.ll'.
2.      Running pass 'AArch64 Instruction Selection' on function
'@doTheTestReduce'
 #0 0x00000000028416ed llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/home/andy/local/llvm12-release/bin/llc+0x28416ed)
 #1 0x000000000283f614 llvm::sys::RunSignalHandlers()
(/home/andy/local/llvm12-release/bin/llc+0x283f614)
 #2 0x000000000283f77b SignalHandler(int)
(/home/andy/local/llvm12-release/bin/llc+0x283f77b)
 #3 0x00007fdc849d6ee0 __restore_rt
(/nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib/libpthread.so.0+0x12ee0)
 #4 0x00007fdc844d308a raise
(/nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib/libc.so.6+0x3808a)
 #5 0x00007fdc844bd528 abort
(/nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib/libc.so.6+0x22528)
 #6 0x00000000027b6b73 llvm::report_fatal_error(llvm::Twine const&, bool)
(/home/andy/local/llvm12-release/bin/llc+0x27b6b73)
 #7 0x00000000027b6cae (/home/andy/local/llvm12-release/bin/llc+0x27b6cae)
 #8 0x00000000026776af llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*)
(/home/andy/local/llvm12-release/bin/llc+0x26776af)
 #9 0x000000000267ac2a llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*,
unsigned char const*, unsigned int)
(/home/andy/local/llvm12-release/bin/llc+0x267ac2a)
#10 0x0000000000925bc2 (anonymous
namespace)::AArch64DAGToDAGISel::Select(llvm::SDNode*)
(/home/andy/local/llvm12-release/bin/llc+0x925bc2)
#11 0x00000000026763e8 llvm::SelectionDAGISel::DoInstructionSelection()
(/home/andy/local/llvm12-release/bin/llc+0x26763e8)
#12 0x00000000026810b5 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/home/andy/local/llvm12-release/bin/llc+0x26810b5)
#13 0x0000000002683c07
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/home/andy/local/llvm12-release/bin/llc+0x2683c07)
#14 0x000000000268672e
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (.part.0)
(/home/andy/local/llvm12-release/bin/llc+0x268672e)
#15 0x0000000001ced4c4
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/home/andy/local/llvm12-release/bin/llc+0x1ced4c4)
#16 0x00000000020d8500 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/andy/local/llvm12-release/bin/llc+0x20d8500)
#17 0x00000000020d9a81 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/andy/local/llvm12-release/bin/llc+0x20d9a81)
#18 0x00000000020d7778 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/andy/local/llvm12-release/bin/llc+0x20d7778)
#19 0x00000000006b75e5 main (/home/andy/local/llvm12-release/bin/llc+0x6b75e5)
#20 0x00007fdc844bec7d __libc_start_main
(/nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib/libc.so.6+0x23c7d)
#21 0x000000000075981a _start
/build/glibc-2.31/csu/../sysdeps/x86_64/start.S:122:0
Aborted (core dumped)

With LLVM 11, the same .ll file (with sret syntax adjusted) builds into an
object file and passes the test.</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>