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


llvm-ci wrote:

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

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

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-rel-x86-64-b1/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/sve-i1-add-reduce.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=aarch64-linux-gnu -mattr=+sve
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-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-rel-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 0x000056122e6ccf68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3d46f68)
 #1 0x000056122e6ca34c SignalHandler(int) Signals.cpp:0:0
 #2 0x00007f450afac140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007f450aaadce1 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38ce1)
 #4 0x00007f450aa97537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x000056122b318603 (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x992603)
 #6 0x000056122e4758a8 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3aef8a8)
 #7 0x000056122e47d129 llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3af7129)
 #8 0x000056122e47217f llvm::SelectionDAGISel::DoInstructionSelection() (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3aec17f)
 #9 0x000056122e482832 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3afc832)
#10 0x000056122e4856e5 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3aff6e5)
#11 0x000056122e486f08 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3b00f08)
#12 0x000056122e4789bf llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x3af29bf)
#13 0x000056122d64e9d7 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#14 0x000056122dc4f1a1 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x32c91a1)
#15 0x000056122dc4f3d1 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x32c93d1)
#16 0x000056122dc4ffbb llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x32c9fbb)
#17 0x000056122b427441 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#18 0x000056122b32050e main (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x99a50e)
#19 0x00007f450aa98d0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d0a)
#20 0x000056122b41da5a _start (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0xa97a5a)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-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