[llvm] [AArch64] Lower scalable i1 vector add reduction to cntp (PR #99031)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 02:43:09 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/2137

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/sve-i1-add-reduce.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve
LLVM ERROR: Cannot select: t14: nxv2i64 = AArch64ISD::UADDV_PRED t10, t2
  t10: nxv16i1 = AArch64ISD::PTRUE TargetConstant:i32<31>
    t9: i32 = TargetConstant<31>
  t2: nxv16i1,ch = CopyFromReg t0, Register:nxv16i1 %0
    t1: nxv16i1 = Register %0
In function: uaddv_zexti8_nxv16i1
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve
1.	Running pass 'Function Pass Manager' on module '<stdin>'.
2.	Running pass 'AArch64 Instruction Selection' on function '@uaddv_zexti8_nxv16i1'
 #0 0x0000000003500e77 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x3500e77)
 #1 0x00000000034fe93e llvm::sys::RunSignalHandlers() (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x34fe93e)
 #2 0x000000000350154f SignalHandler(int) Signals.cpp:0:0
 #3 0x00007f995b260140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007f995ad74ce1 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38ce1)
 #5 0x00007f995ad5e537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x000000000347268a llvm::report_fatal_error(llvm::Twine const&, bool) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x347268a)
 #7 0x00000000032f9a1f llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32f9a1f)
 #8 0x00000000032f8bfc llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32f8bfc)
 #9 0x0000000000b5d01d (anonymous namespace)::AArch64DAGToDAGISel::Select(llvm::SDNode*) AArch64ISelDAGToDAG.cpp:0:0
#10 0x00000000032ecf8f llvm::SelectionDAGISel::DoInstructionSelection() (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32ecf8f)
#11 0x00000000032ebf1c llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32ebf1c)
#12 0x00000000032e99db llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32e99db)
#13 0x00000000032e6cf0 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32e6cf0)
#14 0x00000000032e44b6 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x32e44b6)
#15 0x00000000026444a0 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x26444a0)
#16 0x0000000002b7d704 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x2b7d704)
#17 0x0000000002b84251 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x2b84251)
#18 0x0000000002b7de77 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x2b7de77)
#19 0x000000000082ab01 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#20 0x00000000008280dd main (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x8280dd)
#21 0x00007f995ad5fd0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d0a)
#22 0x0000000000826f0a _start (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc+0x826f0a)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll

--

********************


```

https://github.com/llvm/llvm-project/pull/99031


More information about the llvm-commits mailing list