[llvm] [MISched][RISCV] Add anti-dependency breaking to PostMachineScheduler (PR #221984)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 03:41:45 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 152837 tests passed
* 3311 tests skipped
* 5 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/O3-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --debugify-and-strip-all-safe=0 -mtriple=arm64-- -O3 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --debugify-and-strip-all-safe=0 -mtriple=arm64-- -O3 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/AArch64/O3-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll:234:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: PostRA Machine Instruction Scheduler
# | ^
# | <stdin>:230:2: note: 'next' match was here
# | PostRA Machine Instruction Scheduler
# | ^
# | <stdin>:228:35: note: previous match ended here
# | Falkor HW Prefetch Fix Late Phase
# | ^
# | <stdin>:229:1: note: non-matching line after previous match is here
# | Machine Register Class Info Analysis
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/O3-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 223: AArch64 load / store optimization pass
# | 224: Insert KCFI indirect call checks
# | 225: AArch64 speculation hardening pass
# | 226: MachineDominator Tree Construction
# | 227: Machine Natural Loop Construction
# | 228: Falkor HW Prefetch Fix Late Phase
# | next:234'0 { search range start (exclusive)
# | 229: Machine Register Class Info Analysis
# | 230: PostRA Machine Instruction Scheduler
# | next:234'1 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 231: Analyze Machine Code For Garbage Collection
# | 232: Machine Cycle Info Analysis
# | 233: Machine Block Frequency Analysis
# | 234: MachinePostDominator Tree Construction
# | 235: Branch Probability Basic Block Placement
# | .
# | .
# | .
# | 271: Natural Loop Information
# | 272: Scalar Evolution Analysis
# | 273: Stack Safety Local Analysis
# | 274: Pass Arguments: -domtree
# | 275: FunctionPass Manager
# | 276: Dominator Tree Construction
# | next:234'2 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/O3-pipeline.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -O3 -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll -o /dev/null 2>&1 | grep -v "Verify generated machine code" | /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/O3-pipeline.ll --check-prefixes=CHECK,RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -O3 -debug-pass=Structure -o /dev/null
# note: command had no output on stdout or stderr
# executed command: grep -v 'Verify generated machine code'
# 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/O3-pipeline.ll --check-prefixes=CHECK,RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll:209:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: PostRA Machine Instruction Scheduler
# | ^
# | <stdin>:200:2: note: 'next' match was here
# | PostRA Machine Instruction Scheduler
# | ^
# | <stdin>:198:35: note: previous match ended here
# | Machine Natural Loop Construction
# | ^
# | <stdin>:199:1: note: non-matching line after previous match is here
# | Machine Register Class Info Analysis
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/O3-pipeline.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 193: Post-RA pseudo instruction expansion pass
# | 194: RISC-V Pseudo Instruction Expansion - Post-RA
# | 195: Insert KCFI indirect call checks
# | 196: RISC-V Load / Store Optimizer
# | 197: MachineDominator Tree Construction
# | 198: Machine Natural Loop Construction
# | next:209'0 { search range start (exclusive)
# | 199: Machine Register Class Info Analysis
# | 200: PostRA Machine Instruction Scheduler
# | next:209'1 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 201: Analyze Machine Code For Garbage Collection
# | 202: Machine Cycle Info Analysis
# | 203: Machine Block Frequency Analysis
# | 204: MachinePostDominator Tree Construction
# | 205: Branch Probability Basic Block Placement
# | .
# | .
# | .
# | 229: RISC-V Pseudo Instruction Expansion - Atomics
# | 230: Unpack machine instruction bundles
# | 231: Lazy Machine Block Frequency Analysis
# | 232: Machine Optimization Remark Emitter
# | 233: RISC-V Assembly Printer
# | 234: Free MachineFunction
# | next:209'2 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/machine-combiner.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 -mattr=+d,+zbb,+zfh -verify-machineinstrs -mcpu=sifive-u74 -O1 -riscv-enable-machine-combiner=true -riscv-force-machine-combiner-strategy=local < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.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/machine-combiner.ll --check-prefixes=CHECK,CHECK_LOCAL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -mattr=+d,+zbb,+zfh -verify-machineinstrs -mcpu=sifive-u74 -O1 -riscv-enable-machine-combiner=true -riscv-force-machine-combiner-strategy=local
# 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/machine-combiner.ll --check-prefixes=CHECK,CHECK_LOCAL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:118:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: fadd.d fa4, fa2, fa3
# | ^
# | <stdin>:123:22: note: scanning from here
# | fadd.d fa5, fa4, fa5
# | ^
# | <stdin>:124:2: note: possible intended match here
# | fadd.d fa2, fa2, fa3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:144:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: fmul.d fa3, fa0, ft0
# | ^
# | <stdin>:147:22: note: scanning from here
# | fsub.d fa4, fa4, fa3
# | ^
# | <stdin>:148:2: note: possible intended match here
# | fmul.d fa0, fa0, ft0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:747:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: minu a1, a2, a3
# | ^
# | <stdin>:783:17: note: scanning from here
# | minu a0, a0, a1
# | ^
# | <stdin>:784:2: note: possible intended match here
# | minu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:764:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: minu a1, a2, a3
# | ^
# | <stdin>:801:17: note: scanning from here
# | minu a0, a0, a1
# | ^
# | <stdin>:802:2: note: possible intended match here
# | minu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:781:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: minu a1, a2, a3
# | ^
# | <stdin>:819:17: note: scanning from here
# | minu a0, a0, a1
# | ^
# | <stdin>:820:2: note: possible intended match here
# | minu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:794:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: minu a1, a2, a3
# | ^
# | <stdin>:833:17: note: scanning from here
# | minu a0, a0, a1
# | ^
# | <stdin>:834:2: note: possible intended match here
# | minu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:811:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: min a1, a2, a3
# | ^
# | <stdin>:851:16: note: scanning from here
# | min a0, a0, a1
# | ^
# | <stdin>:852:2: note: possible intended match here
# | min a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:828:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: min a1, a2, a3
# | ^
# | <stdin>:869:16: note: scanning from here
# | min a0, a0, a1
# | ^
# | <stdin>:870:2: note: possible intended match here
# | min a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:845:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: min a1, a2, a3
# | ^
# | <stdin>:887:16: note: scanning from here
# | min a0, a0, a1
# | ^
# | <stdin>:888:2: note: possible intended match here
# | min a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:858:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: min a1, a2, a3
# | ^
# | <stdin>:901:16: note: scanning from here
# | min a0, a0, a1
# | ^
# | <stdin>:902:2: note: possible intended match here
# | min a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:875:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: maxu a1, a2, a3
# | ^
# | <stdin>:919:17: note: scanning from here
# | maxu a0, a0, a1
# | ^
# | <stdin>:920:2: note: possible intended match here
# | maxu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:892:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: maxu a1, a2, a3
# | ^
# | <stdin>:937:17: note: scanning from here
# | maxu a0, a0, a1
# | ^
# | <stdin>:938:2: note: possible intended match here
# | maxu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:909:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: maxu a1, a2, a3
# | ^
# | <stdin>:955:17: note: scanning from here
# | maxu a0, a0, a1
# | ^
# | <stdin>:956:2: note: possible intended match here
# | maxu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:922:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: maxu a1, a2, a3
# | ^
# | <stdin>:969:17: note: scanning from here
# | maxu a0, a0, a1
# | ^
# | <stdin>:970:2: note: possible intended match here
# | maxu a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:939:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: max a1, a2, a3
# | ^
# | <stdin>:987:16: note: scanning from here
# | max a0, a0, a1
# | ^
# | <stdin>:988:2: note: possible intended match here
# | max a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:956:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: max a1, a2, a3
# | ^
# | <stdin>:1005:16: note: scanning from here
# | max a0, a0, a1
# | ^
# | <stdin>:1006:2: note: possible intended match here
# | max a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:973:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: max a1, a2, a3
# | ^
# | <stdin>:1023:16: note: scanning from here
# | max a0, a0, a1
# | ^
# | <stdin>:1024:2: note: possible intended match here
# | max a5, a2, a3
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll:986:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: max a1, a2, a3
# | ^
# | <stdin>:1037:16: note: scanning from here
# | max a0, a0, a1
# | ^
# | <stdin>:1038:2: note: possible intended match here
# | max a5, a2, a3
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/machine-combiner.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 118: .p2align 1
# | 119: .type test_reassoc_big1, at function
# | 120: test_reassoc_big1: # @test_reassoc_big1
# | 121: .cfi_startproc
# | 122: # %bb.0:
# | 123: fadd.d fa5, fa4, fa5
# | next:118'0 { search range start (exclusive)
# | next:118'1 error: no match found in search range
# | 124: fadd.d fa2, fa2, fa3
# | next:118'2 ? possible intended match
# | 125: fadd.d fa0, fa0, fa1
# | 126: fadd.d fa5, fa5, fa6
# | 127: fadd.d fa4, fa0, fa2
# | 128: fadd.d fa0, fa4, fa5
# | 129: ret
# | 130: .Lfunc_end8:
# | 131: .size test_reassoc_big1, .Lfunc_end8-test_reassoc_big1
# | 132: .cfi_endproc
# | 133: # -- End function
# | 134: .globl test_reassoc_big2 # -- Begin function test_reassoc_big2
# | 135: .p2align 1
# | 136: .type test_reassoc_big2, at function
# | 137: test_reassoc_big2: # @test_reassoc_big2
# | next:118'3 } search range end (exclusive)
# | 138: .cfi_startproc
# | 139: # %bb.0:
# | 140: fsub.d fa4, fa3, fa2
# | 141: fadd.d fa3, fa0, fa1
# | 142: fadd.d ft0, fa2, fa1
# | 143: fcvt.d.w fa5, a1
# | 144: fcvt.d.w ft1, a0
# | 145: fmul.d fa5, fa5, fa1
# | 146: fmul.d fa2, fa2, ft1
# | 147: fsub.d fa4, fa4, fa3
# | next:144'0 { search range start (exclusive)
# | next:144'1 error: no match found in search range
# | 148: fmul.d fa0, fa0, ft0
# | next:144'2 ? possible intended match
# | 149: fmul.d fa5, fa5, fa2
# | 150: fmul.d fa4, fa4, fa0
# | 151: fmul.d fa0, fa4, fa5
# | 152: ret
# | 153: .Lfunc_end9:
# | 154: .size test_reassoc_big2, .Lfunc_end9-test_reassoc_big2
# | 155: .cfi_endproc
# | 156: # -- End function
# | 157: .globl test_reassoc_fadd_flags_1 # -- Begin function test_reassoc_fadd_flags_1
# | 158: .p2align 1
# | 159: .type test_reassoc_fadd_flags_1, at function
# | 160: test_reassoc_fadd_flags_1: # @test_reassoc_fadd_flags_1
# | next:144'3 } search range end (exclusive)
# | 161: .cfi_startproc
# | 162: # %bb.0:
# | 163: fadd.d fa5, fa0, fa1
# | 164: fadd.d fa5, fa5, fa2
# | 165: fadd.d fa0, fa5, fa3
# | .
# | .
# | .
# | 778: # %bb.0:
# | 779: zext.b a3, a3
# | 780: zext.b a1, a1
# | 781: zext.b a0, a0
# | 782: zext.b a2, a2
# | 783: minu a0, a0, a1
# | next:747'0 { search range start (exclusive)
# | next:747'1 error: no match found in search range
# | 784: minu a5, a2, a3
# | next:747'2 ? possible intended match
# | 785: minu a0, a0, a5
# | 786: ret
# | 787: .Lfunc_end54:
# | 788: .size test_reassoc_minu_i8, .Lfunc_end54-test_reassoc_minu_i8
# | 789: .cfi_endproc
# | 790: # -- End function
# | 791: .globl test_reassoc_minu_i16 # -- Begin function test_reassoc_minu_i16
# | 792: .p2align 1
# | 793: .type test_reassoc_minu_i16, at function
# | 794: test_reassoc_minu_i16: # @test_reassoc_minu_i16
# | next:747'3 } search range end (exclusive)
# | 795: .cfi_startproc
# | ...
# `---data was truncated (10240/24745) (change limit with -D output_limit=N)
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/macro-fusion-lui-addi.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/macro-fusion-lui-addi.ll -mtriple=riscv64 -mattr=+f -mcpu=sifive-u74 -target-abi=lp64f | /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/macro-fusion-lui-addi.ll --check-prefix=NOFUSION
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -mattr=+f -mcpu=sifive-u74 -target-abi=lp64f
# 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/macro-fusion-lui-addi.ll --check-prefix=NOFUSION
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/macro-fusion-lui-addi.ll:100:18: error: NOFUSION-NEXT: is not on the line after the previous match
# | ; NOFUSION-NEXT: mv a0, a1
# | ^
# | <stdin>:39:2: note: 'next' match was here
# | mv a0, a1
# | ^
# | <stdin>:37:9: note: previous match ended here
# | # %bb.0:
# | ^
# | <stdin>:38:1: note: non-matching line after previous match is here
# | lui a5, 3014
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/macro-fusion-lui-addi.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 32: .globl test_regalloc_hint # -- Begin function test_regalloc_hint
# | 33: .p2align 1
# | 34: .type test_regalloc_hint, at function
# | 35: test_regalloc_hint: # @test_regalloc_hint
# | 36: .cfi_startproc
# | 37: # %bb.0:
# | next:100'0 { search range start (exclusive)
# | 38: lui a5, 3014
# | 39: mv a0, a1
# | next:100'1 !~~~~~~~~ error: match on wrong line
# | 40: addi a1, a5, 334
# | 41: tail bar
# | 42: .Lfunc_end2:
# | 43: .size test_regalloc_hint, .Lfunc_end2-test_regalloc_hint
# | 44: .cfi_endproc
# | 45: # -- End function
# | 46: .type .L.str, at object # @.str
# | 47: .section .rodata,"a", at progbits
# | 48: .L.str:
# | 49: .asciz "%f\n"
# | 50: .size .L.str, 4
# | 51:
# | 52: .section ".note.GNU-stack","", at progbits
# | next:100'2 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/sdiv-pow2-cmov.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 -mattr=+c,+m -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK,NOSFB /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -mattr=+c,+m -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 -check-prefixes=CHECK,NOSFB /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll
# 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 -mcpu=sifive-u74 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK,SFB /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -mcpu=sifive-u74 -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 -check-prefixes=CHECK,SFB /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll:373:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: add a0, a0, a1
# | ^
# | <stdin>:288:17: note: scanning from here
# | srli a1, a1, 52
# | ^
# | <stdin>:289:2: note: possible intended match here
# | add a5, a0, a1
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/sdiv-pow2-cmov.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 283: .type sdiv4096, at function
# | 284: sdiv4096: # @sdiv4096
# | 285: .cfi_startproc
# | 286: # %bb.0:
# | 287: srai a1, a0, 63
# | 288: srli a1, a1, 52
# | next:373'0 { search range start (exclusive)
# | next:373'1 error: no match found in search range
# | 289: add a5, a0, a1
# | next:373'2 ? possible intended match
# | 290: srai a0, a5, 12
# | 291: ret
# | 292: .Lfunc_end16:
# | 293: .size sdiv4096, .Lfunc_end16-sdiv4096
# | 294: .cfi_endproc
# | 295: # -- End function
# | 296: .section ".note.GNU-stack","", at progbits
# | next:373'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/221984
More information about the llvm-commits
mailing list