[llvm] [RISCV] Generate landing pad based on cf-protection-branch flag only (PR #179960)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 03:05:08 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 133612 tests passed
* 3100 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/tail-calls.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple riscv32-unknown-linux-gnu -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple riscv32-unknown-linux-gnu -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll:444:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: lw t0, 20(sp)
# | ^
# | <stdin>:111:18: note: scanning from here
# | # %bb.0: # %entry
# | ^
# | <stdin>:114:2: note: possible intended match here
# | lw t0, 32(sp)
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll:541:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: addi sp, sp, -16
# | ^
# | <stdin>:137:18: note: scanning from here
# | # %bb.0: # %entry
# | ^
# | <stdin>:138:2: note: possible intended match here
# | addi sp, sp, -32
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\tail-calls.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 106: # -- End function
# | 107: .globl caller_args # -- Begin function caller_args
# | 108: .p2align 2
# | 109: .type caller_args, at function
# | 110: caller_args: # @caller_args
# | 111: # %bb.0: # %entry
# | next:444'0 X error: no match found
# | 112: addi sp, sp, -32
# | next:444'0 ~~~~~~~~~~~~~~~~~~
# | 113: sw ra, 28(sp) # 4-byte Folded Spill
# | next:444'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 114: lw t0, 32(sp)
# | next:444'0 ~~~~~~~~~~~~~~~
# | next:444'1 ? possible intended match
# | 115: lw t1, 36(sp)
# | next:444'0 ~~~~~~~~~~~~~~~
# | 116: lw t2, 40(sp)
# | next:444'0 ~~~~~~~~~~~~~~~
# | 117: lw t3, 44(sp)
# | next:444'0 ~~~~~~~~~~~~~~~
# | 118: lw t4, 48(sp)
# | next:444'0 ~~~~~~~~~~~~~~~
# | 119: lw t5, 52(sp)
# | next:444'0 ~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 132: # -- End function
# | next:444'0 ~~~~~~~~~~~~~~~~~~~
# | 133: .globl caller_indirect_args # -- Begin function caller_indirect_args
# | next:444'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 134: .p2align 2
# | next:444'0 ~~~~~~~~~~~~
# | 135: .type caller_indirect_args, at function
# | next:444'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 136: caller_indirect_args: # @caller_indirect_args
# | next:444'0 ~~~~~~~~~~~~~~~~~~~~~
# | 137: # %bb.0: # %entry
# | next:541'0 X error: no match found
# | 138: addi sp, sp, -32
# | next:541'0 ~~~~~~~~~~~~~~~~~~
# | next:541'1 ? possible intended match
# | 139: sw ra, 28(sp) # 4-byte Folded Spill
# | next:541'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 140: lui a1, 262128
# | next:541'0 ~~~~~~~~~~~~~~~~
# | 141: mv a0, sp
# | next:541'0 ~~~~~~~~~~~
# | 142: sw zero, 0(sp)
# | next:541'0 ~~~~~~~~~~~~~~~~
# | 143: sw zero, 4(sp)
# | next:541'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/179960
More information about the llvm-commits
mailing list