[clang] [llvm] [RISCV][P-ext] Support Packed Narrowing Clip Pair (PR #215779)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 01:20:03 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 180442 tests passed
* 3668 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### cross-project-tests
<details>
<summary>cross-project-tests.intrinsic-header-tests/riscv_packed_simd.c</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c -O2 -S -o - --target=riscv32 -menable-experimental-extensions -march=rv32i_p0p21 -Werror -Wextra -Xclang -verify | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c --check-prefixes=CHECK,RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c -O2 -S -o - --target=riscv32 -menable-experimental-extensions -march=rv32i_p0p21 -Werror -Wextra -Xclang -verify
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c -O2 -S -o - --target=riscv32 -menable-experimental-extensions -march=rv32i_p0p21 -Werror -Wextra -Xclang -verify
# | 1. <eof> parser at end of file
# | 2. Code generation
# | 3. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c'.
# | 4. Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on function '@test_pnclipp_i8x4'
# | #0 0x0000000009541f7b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000953ee41 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000009540af3 llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #3 0x000000000949e837 (anonymous namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:76:5
# | #4 0x000000000949e7cf llvm::CrashRecoveryContext::HandleExit(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:460:3
# | #5 0x000000000953b507 llvm::sys::Process::Exit(int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Process.cpp:117:5
# | #6 0x00000000065c86d6 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x65c86d6)
# | #7 0x00000000094a6106 _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28
# | #8 0x00000000094a6106 _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6
# | #9 0x00000000094a6106 _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7
# | #10 0x00000000094a6106 ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9
# | #11 0x00000000094a6106 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:117:5
# | #12 0x00000000094a622e (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x94a622e)
# | #13 0x000000000b1de2bf hasProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SDNodeInfo.h:80:50
# | #14 0x000000000b1de2bf llvm::SDNodeInfo::verifyNode(llvm::SelectionDAG const&, llvm::SDNode const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp:77:28
# | #15 0x0000000007b24cf1 getOpcode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:705:50
# | #16 0x0000000007b24cf1 llvm::RISCVSelectionDAGInfo::verifyTargetNode(llvm::SelectionDAG const&, llvm::SDNode const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp:29:14
# | #17 0x000000000b2713da InsertNode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1258:0
# | #18 0x000000000b2713da llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc const&, llvm::EVT, llvm::SDValue, llvm::SDValue, llvm::SDNodeFlags) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:9025:3
# | #19 0x0000000007a90d31 llvm::RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(llvm::SDValue, llvm::SelectionDAG&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:12326:50
# | #20 0x0000000007a833f7 llvm::RISCVTargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9661:14
# | #21 0x000000000b1b62f5 (anonymous namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1347:29
# | #22 0x000000000b1b55e4 use_empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:774:43
# | #23 0x000000000b1b55e4 llvm::SelectionDAG::Legalize() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:6342:16
# | #24 0x000000000b2b5cbe ~TimeRegion /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Timer.h:167:9
# | #25 0x000000000b2b5cbe llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1109:3
# | #26 0x000000000b2b3e2d llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1678:8
# | #27 0x000000000b2b11d1 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:647:22
# | #28 0x000000000b2ae8bc llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:395:20
# | #29 0x00000000088d6999 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:99:7
# | #30 0x0000000008e9c2e0 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #31 0x0000000008ea3e02 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1470:13
# | #32 0x0000000008e9d046 runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #33 0x0000000008e9d046 llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:533:44
# | #34 0x0000000009ebe684 (anonymous namespace)::EmitAssemblyHelper::TimeCodegenPasses(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1350:7
# | #35 0x0000000009ead0c7 ~_Vector_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:369:24
# | #36 0x0000000009ead0c7 ~vector /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:738:7
# | #37 0x0000000009ead0c7 ~TargetLibraryInfoImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Analysis/TargetLibraryInfo.h:83:7
# | #38 0x0000000009ead0c7 operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:99:2
# | #39 0x0000000009ead0c7 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4
# | #40 0x0000000009ead0c7 RunCodegenPipelineLegacy /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1301:1
# | #41 0x0000000009ead0c7 RunCodegenPipeline /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1262:5
# | #42 0x0000000009ead0c7 emitAssembly /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1372:3
# | #43 0x0000000009ead0c7 clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1548:13
# | #44 0x0000000009ec2784 ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
# | #45 0x0000000009ec2784 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:322:3
# | #46 0x000000000bbdae49 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
# | #47 0x000000000a448576 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1350:10
# | #48 0x000000000a3b8239 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #49 0x000000000a3b8239 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #50 0x000000000a3b8239 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1035:23
# | #51 0x000000000a50fa28 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #52 0x000000000a50fa28 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #53 0x000000000a50fa28 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #54 0x000000000a50fa28 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:314:12
# | #55 0x000000000a50fa28 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:332:14
# | #56 0x00000000065c7e6c cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:296:13
# | #57 0x00000000065c3ba3 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::Tool
# | ...
# `---data was truncated (10240/14094) (change limit with -D output_limit=N)
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c --check-prefixes=CHECK,RV32
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c --check-prefixes=CHECK,RV32
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/rvp-simd-32.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-32.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-32.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
# .---command stderr------------
# | LLVM ERROR: invalid node: operand #0 must have type i32, but has type v2i16
# | t10: v4i16 = RISCVISD::BuildPairGPRVec t2, t4
# | t2: v2i16,ch = CopyFromReg t0, Register:v2i16 %0
# | t4: v2i16,ch = CopyFromReg t0, Register:v2i16 %1
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on function '@test_pnclipp_v4i8'
# | #0 0x000000000881d6eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000881a5b1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000881e50b SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000078bc2e857330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000078bc2e8b0b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x000078bc2e85727e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x000078bc2e83a8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000008778ab5 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
# | #8 0x0000000008778b2e (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x8778b2e)
# | #9 0x00000000084d46df hasProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SDNodeInfo.h:80:50
# | #10 0x00000000084d46df llvm::SDNodeInfo::verifyNode(llvm::SelectionDAG const&, llvm::SDNode const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp:77:28
# | #11 0x00000000064a7681 getOpcode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:705:50
# | #12 0x00000000064a7681 llvm::RISCVSelectionDAGInfo::verifyTargetNode(llvm::SelectionDAG const&, llvm::SDNode const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp:29:14
# | #13 0x000000000859c51a InsertNode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1258:0
# | #14 0x000000000859c51a llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc const&, llvm::EVT, llvm::SDValue, llvm::SDValue, llvm::SDNodeFlags) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:9025:3
# | #15 0x0000000006413671 llvm::RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(llvm::SDValue, llvm::SelectionDAG&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:12326:50
# | #16 0x0000000006405d37 llvm::RISCVTargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9661:14
# | #17 0x00000000084ac715 (anonymous namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1347:29
# | #18 0x00000000084aba04 use_empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:774:43
# | #19 0x00000000084aba04 llvm::SelectionDAG::Legalize() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:6342:16
# | #20 0x00000000085e0dae ~TimeRegion /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Timer.h:167:9
# | #21 0x00000000085e0dae llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1109:3
# | #22 0x00000000085def1d llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1678:8
# | #23 0x00000000085dc2c1 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:647:22
# | #24 0x00000000085d99ac llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:395:20
# | #25 0x00000000074cdc99 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:99:7
# | #26 0x0000000007a61c50 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #27 0x0000000007a69772 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1470:13
# | #28 0x0000000007a629b6 runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #29 0x0000000007a629b6 llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:533:44
# | #30 0x000000000511dfc3 compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:890:17
# | #31 0x000000000511af83 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #32 0x000078bc2e83c1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x000078bc2e83c28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x000000000511a125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x511a125)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-32.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-32.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/rvp-simd-64.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-64.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-64.ll --check-prefixes=CHECK,RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
# .---command stderr------------
# | LLVM ERROR: invalid node: operand #0 must have type i32, but has type v4i8
# | t22: v8i8 = RISCVISD::BuildPairGPRVec t20, t21
# | t20: v4i8 = RISCVISD::PNCLIPP_I t5, Constant:i32<0>
# |
# | t21: v4i8 = RISCVISD::PNCLIPP_I t10, Constant:i32<0>
# |
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on function '@test_pnclipp_v8i8'
# | #0 0x000000000881d6eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000881a5b1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000881e50b SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x00007dd9b646f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007dd9b64c8b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007dd9b646f27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007dd9b64528ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000008778ab5 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
# | #8 0x0000000008778b2e (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x8778b2e)
# | #9 0x00000000084d46df hasProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SDNodeInfo.h:80:50
# | #10 0x00000000084d46df llvm::SDNodeInfo::verifyNode(llvm::SelectionDAG const&, llvm::SDNode const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp:77:28
# | #11 0x00000000064a7681 getOpcode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:705:50
# | #12 0x00000000064a7681 llvm::RISCVSelectionDAGInfo::verifyTargetNode(llvm::SelectionDAG const&, llvm::SDNode const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp:29:14
# | #13 0x000000000859c51a InsertNode /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1258:0
# | #14 0x000000000859c51a llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc const&, llvm::EVT, llvm::SDValue, llvm::SDValue, llvm::SDNodeFlags) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:9025:3
# | #15 0x0000000006414338 llvm::RISCVTargetLowering::LowerINTRINSIC_WO_CHAIN(llvm::SDValue, llvm::SelectionDAG&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:12682:1
# | #16 0x0000000006405d37 llvm::RISCVTargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9661:14
# | #17 0x00000000084ac715 (anonymous namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1347:29
# | #18 0x00000000084aba04 use_empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:774:43
# | #19 0x00000000084aba04 llvm::SelectionDAG::Legalize() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:6342:16
# | #20 0x00000000085e0dae ~TimeRegion /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Timer.h:167:9
# | #21 0x00000000085e0dae llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1109:3
# | #22 0x00000000085def1d llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1678:8
# | #23 0x00000000085dc2c1 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:647:22
# | #24 0x00000000085d99ac llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:395:20
# | #25 0x00000000074cdc99 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:99:7
# | #26 0x0000000007a61c50 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #27 0x0000000007a69772 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1470:13
# | #28 0x0000000007a629b6 runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #29 0x0000000007a629b6 llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:533:44
# | #30 0x000000000511dfc3 compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:890:17
# | #31 0x000000000511af83 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #32 0x00007dd9b64541ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x00007dd9b645428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x000000000511a125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x511a125)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-64.ll --check-prefixes=CHECK,RV32
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvp-simd-64.ll --check-prefixes=CHECK,RV32
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/215779
More information about the llvm-commits
mailing list