[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:24:40 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll
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/ml-opt-dev-x86-64-b1/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 0x000055fb6c8587b8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3de47b8)
 #1 0x000055fb6c855b9c SignalHandler(int) Signals.cpp:0:0
 #2 0x00007fd993bdf140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007fd9936e0ce1 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38ce1)
 #4 0x00007fd9936ca537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x000055fb69488b83 (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0xa14b83)
 #6 0x000055fb6c6010f8 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b8d0f8)
 #7 0x000055fb6c608979 llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b94979)
 #8 0x000055fb6c5fd9cf llvm::SelectionDAGISel::DoInstructionSelection() (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b899cf)
 #9 0x000055fb6c60e082 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b9a082)
#10 0x000055fb6c610f35 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b9cf35)
#11 0x000055fb6c612758 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b9e758)
#12 0x000055fb6c60420f llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3b9020f)
#13 0x000055fb6b7d1737 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#14 0x000055fb6bdda9f1 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x33669f1)
#15 0x000055fb6bddac21 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3366c21)
#16 0x000055fb6bddb80b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x336780b)
#17 0x000055fb695aa1a1 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#18 0x000055fb694a0a5e main (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0xa2ca5e)
#19 0x00007fd9936cbd0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d0a)
#20 0x000055fb695a07ba _start (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0xb2c7ba)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/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