[llvm] [RISCV][Zicfilp] Emit .note.gnu.property section for Zicfilp CFI unlabeled scheme (PR #141468)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 23:59:37 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 175015 tests passed
* 3426 tests skipped
* 9 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/branch-relaxation-rv32.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs -filetype=obj -o /dev/null
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -relocation-model=pic -verify-machineinstrs    -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -relocation-model=pic -verify-machineinstrs -filetype=obj -o /dev/null
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.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/branch-relaxation-rv32.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs
# note: command had no output on stdout or stderr
# 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/branch-relaxation-rv32.ll
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -relocation-model=pic -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.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/branch-relaxation-rv32.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -relocation-model=pic -verify-machineinstrs
# note: command had no output on stdout or stderr
# 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/branch-relaxation-rv32.ll
# note: command had no output on stdout or stderr
# RUN: at line 12
sed 's/^;; CFBRANCH: //' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs    | /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/branch-relaxation-rv32.ll --check-prefix=CHECK-CF
# executed command: sed 's/^;; CFBRANCH: //' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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 -verify-machineinstrs
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x000079a2906f9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000079a290752b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000079a2906f927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000079a2906dc8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000079a2906dc81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000079a2906ef517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x000079a2906de1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x000079a2906de28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# 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/branch-relaxation-rv32.ll --check-prefix=CHECK-CF
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll:1606:18: error: CHECK-CF-NEXT: expected string not found in input
# | ; CHECK-CF-NEXT: #APP
# |                  ^
# | <stdin>:669:9: note: scanning from here
# |  #NO_APP
# |         ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |          664:  #APP 
# |          665:  li t3, 28 
# |          666:  #NO_APP 
# |          667:  #APP 
# |          668:  li t4, 29 
# |          669:  #NO_APP 
# | next:1606             X error: no match found
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/branch-relaxation-rv64.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs -filetype=obj -o /dev/null
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -relocation-model=pic -verify-machineinstrs    -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -relocation-model=pic -verify-machineinstrs -filetype=obj -o /dev/null
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.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/branch-relaxation-rv64.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs
# note: command had no output on stdout or stderr
# 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/branch-relaxation-rv64.ll
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -relocation-model=pic -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.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/branch-relaxation-rv64.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -relocation-model=pic -verify-machineinstrs
# note: command had no output on stdout or stderr
# 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/branch-relaxation-rv64.ll
# note: command had no output on stdout or stderr
# RUN: at line 12
sed 's/^;; CFBRANCH: //' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs    | /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/branch-relaxation-rv64.ll --check-prefix=CHECK-CF
# executed command: sed 's/^;; CFBRANCH: //' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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=riscv64 -verify-machineinstrs
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007ef6d6e1d330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007ef6d6e76b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007ef6d6e1d27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007ef6d6e008ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007ef6d6e0081b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007ef6d6e13517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007ef6d6e021ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007ef6d6e0228b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# 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/branch-relaxation-rv64.ll --check-prefix=CHECK-CF
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll:1608:18: error: CHECK-CF-NEXT: expected string not found in input
# | ; CHECK-CF-NEXT: li t4, 29
# |                  ^
# | <stdin>:667:6: note: scanning from here
# |  #APP
# |      ^
# | <stdin>:668:2: note: possible intended match here
# |  li t4, 2
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            662:  li s11, 27 
# |            663:  #NO_APP 
# |            664:  #APP 
# |            665:  li t3, 28 
# |            666:  #NO_APP 
# |            667:  #APP 
# | next:1608'0          X error: no match found
# |            668:  li t4, 2
# | next:1608'0     ~~~~~~~~~
# | next:1608'1      ?        possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/calls-cf-branch.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 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/calls-cf-branch.ll    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/calls-cf-branch.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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 -verify-machineinstrs
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x000079d3a456f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000079d3a45c8b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000079d3a456f27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000079d3a45528ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000079d3a455281b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000079d3a4565517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x000079d3a45541ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x000079d3a455428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/calls-cf-branch.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/calls-cf-branch.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/jumptable-swguarded.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 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/jumptable-swguarded.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/jumptable-swguarded.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007fa74121a330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007fa741273b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007fa74121a27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007fa7411fd8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007fa7411fd81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007fa741210517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007fa7411ff1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007fa7411ff28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# 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/jumptable-swguarded.ll
# .---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/jumptable-swguarded.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/lpad-setjmp.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32 -mattr=+experimental-zicfilp,+relax,+c    < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/lpad-setjmp.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/lpad-setjmp.ll --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32 -mattr=+experimental-zicfilp,+relax,+c
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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-zicfilp,+relax,+c
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007bb731370330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007bb7313c9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007bb73137027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007bb7313538ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007bb73135381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007bb731366517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007bb7313551ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007bb73135528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# 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/lpad-setjmp.ll --check-prefixes=CHECK
# .---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/lpad-setjmp.ll --check-prefixes=CHECK
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/lpad.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32 -mattr=+experimental-zicfilp < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/lpad.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/lpad.ll --check-prefixes=CHECK,RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32 -mattr=+experimental-zicfilp
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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-zicfilp
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007b10d6ea4330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007b10d6efdb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007b10d6ea427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007b10d6e878ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007b10d6e8781b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007b10d6e9a517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007b10d6e891ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007b10d6e8928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# 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/lpad.ll --check-prefixes=CHECK,RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/lpad.ll:299:15: error: RV32-LABEL: expected string not found in input
# | ; RV32-LABEL: test_returns_twice:
# |               ^
# | <stdin>:131:11: note: scanning from here
# | interrupt: # @interrupt
# |           ^
# | <stdin>:132:5: note: possible intended match here
# |  .cfi_startproc
# |     ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/lpad.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            126:  .cfi_endproc 
# |            127:  # -- End function 
# |            128:  .globl interrupt # -- Begin function interrupt 
# |            129:  .p2align 2 
# |            130:  .type interrupt, at function 
# |            131: interrupt: # @interrupt 
# | label:299'0               X~~~~~~~~~~~~~ error: no match found
# |            132:  .cfi_startproc 
# | label:299'0     ~~~~~~~~~~~~~~~~
# | label:299'1         ?            possible intended match
# |            133: # %bb.0: 
# | label:299'0     ~~~~~~~~~
# |            134:  mret 
# | label:299'0     ~~~~~~
# |            135: .Lfunc_end6: 
# | label:299'0     ~~~~~~~~~~~~~
# |            136:  .size interrupt, .Lfunc_end6-interrupt 
# | label:299'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            137:  .cfi_endproc 
# | label:299'0     ~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/nest-register.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 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/nest-register.ll    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/nest-register.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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 -verify-machineinstrs
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007bb0bd3e1330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007bb0bd43ab2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007bb0bd3e127e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007bb0bd3c48ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007bb0bd3c481b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007bb0bd3d7517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007bb0bd3c61ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007bb0bd3c628b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/nest-register.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV32I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/nest-register.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/rv64-trampoline-cfi.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=riscv64 -mattr=+experimental-zicfilp -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rv64-trampoline-cfi.ll    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rv64-trampoline-cfi.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=riscv64 -mattr=+experimental-zicfilp -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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 -O0 -mtriple=riscv64 -mattr=+experimental-zicfilp -verify-machineinstrs
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007dbaf414c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007dbaf41a5b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007dbaf414c27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007dbaf412f8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007dbaf412f81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007dbaf4142517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007dbaf41311ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007dbaf413128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rv64-trampoline-cfi.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rv64-trampoline-cfi.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/tail-calls.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32-unknown-linux-gnu -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.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/tail-calls.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32-unknown-linux-gnu -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll
# note: command had no output on stdout or stderr
# 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/tail-calls.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32-unknown-elf       -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.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/tail-calls.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple riscv32-unknown-elf -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll
# note: command had no output on stdout or stderr
# 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/tail-calls.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
sed -e 's/!llvm.module.flags = !{!0}/!llvm.module.flags = !{!0, !15}/' -e 's/^;CF: //' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=CHECK-CF-RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll
# executed command: sed -e 's/!llvm.module.flags = !{!0}/!llvm.module.flags = !{!0, !15}/' -e 's/^;CF: //' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1035: void (anonymous namespace)::RISCVAsmPrinter::emitNoteGnuProperty(const Module &): Assertion `CFBranchLabelSchemeFlag && "cf-protection=branch should come with cf-branch-label-scheme=... " "on RISC-V targets"' failed.
# | 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 -verify-machineinstrs
# |  #0 0x00000000086dcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000086d9c51 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000086ddb01 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007aa9611c3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007aa96121cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007aa9611c327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007aa9611a68ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007aa9611a681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007aa9611b9517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x000000000631eb1b cast<llvm::MDString, const llvm::Metadata> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:572:3
# | #10 0x000000000631eb1b emitNoteGnuProperty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:1037:9
# | #11 0x000000000631eb1b (anonymous namespace)::RISCVAsmPrinter::emitEndOfAsmFile(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:664:5
# | #12 0x00000000070d6828 llvm::AsmPrinter::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3149:7
# | #13 0x000000000791b6fa llvm::FPPassManager::doFinalization(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1454:13
# | #14 0x000000000791514d runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:41
# | #15 0x000000000791514d llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000005173f4e 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:882:17
# | #17 0x0000000005170e93 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
# | #18 0x00007aa9611a81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007aa9611a828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x000000000516ca65 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x516ca65)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=CHECK-CF-RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll:1053:24: error: CHECK-CF-RV32-LABEL: expected string not found in input
# | ; CHECK-CF-RV32-LABEL: caller_struct:
# |                        ^
# | <stdin>:236:17: note: scanning from here
# | caller_nostruct: # @caller_nostruct
# |                 ^
# | <stdin>:243:7: note: possible intended match here
# |  call callee_struct
# |       ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/tail-calls.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |             231:  .size caller_byval, .Lfunc_end10-caller_byval 
# |             232:  # -- End function 
# |             233:  .globl caller_nostruct # -- Begin function caller_nostruct 
# |             234:  .p2align 2 
# |             235:  .type caller_nostruct, at function 
# |             236: caller_nostruct: # @caller_nostruct 
# | label:1053'0                     X~~~~~~~~~~~~~~~~~~~ error: no match found
# |             237: # %bb.0: # %entry 
# | label:1053'0     ~~~~~~~~~~~~~~~~~~
# |             238:  lpad 0 
# | label:1053'0     ~~~~~~~~
# |             239:  addi sp, sp, -16 
# | label:1053'0     ~~~~~~~~~~~~~~~~~~
# |             240:  sw ra, 12(sp) # 4-byte Folded Spill 
# | label:1053'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             241:  lui a0, %hi(a) 
# | label:1053'0     ~~~~~~~~~~~~~~~~
# |             242:  addi a0, a0, %lo(a) 
# | label:1053'0     ~~~~~~~~~~~~~~~~~~~~~
# |             243:  call callee_struct 
# | label:1053'0     ~~~~~~~~~~~~~~~~~~~~
# | label:1053'1           ?              possible intended match
# |             244:  lw ra, 12(sp) # 4-byte Folded Reload 
# | label:1053'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             245:  addi sp, sp, 16 
# | label:1053'0     ~~~~~~~~~~~~~~~~~
# |             246:  ret 
# | label:1053'0     ~~~~~
# |             247: .Lfunc_end11: 
# | label:1053'0     ~~~~~~~~~~~~~~
# |             248:  .size caller_nostruct, .Lfunc
# | label:1053'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/141468


More information about the llvm-commits mailing list