[llvm-bugs] [Bug 49401] New: LLVM 12 regression: Cannot select: intrinsic %llvm.aarch64.neon.fminnmv

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 2 15:53:43 PST 2021


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

            Bug ID: 49401
           Summary: LLVM 12 regression: Cannot select: intrinsic
                    %llvm.aarch64.neon.fminnmv
           Product: new-bugs
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew at ziglang.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

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

-- 
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/20210302/d152c8fe/attachment-0001.html>


More information about the llvm-bugs mailing list