[llvm-branch-commits] [llvm] [LSR] Preserve LCSSA in SCEVRewriter (PR #191665)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Apr 11 22:56:27 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 133325 tests passed
* 3083 tests skipped
* 16 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/ragreedy-csr.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\ragreedy-csr.ll -mtriple=arm64-apple-ios7.0 -regalloc=greedy -regalloc-csr-first-time-cost=15 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\ragreedy-csr.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=arm64-apple-ios7.0 -regalloc=greedy -regalloc-csr-first-time-cost=15
# 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\AArch64\ragreedy-csr.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\ragreedy-csr.ll:35:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: adrp x15, __DefaultRuneLocale at GOTPAGE
# | ^
# | <stdin>:18:7: note: scanning from here
# | Lloh0:
# | ^
# | <stdin>:19:2: note: possible intended match here
# | adrp x14, __DefaultRuneLocale at GOTPAGE
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AArch64\ragreedy-csr.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 13: sub sp, sp, #64
# | 14: stp x29, x30, [sp, #48] ; 16-byte Folded Spill
# | 15: .cfi_def_cfa_offset 64
# | 16: .cfi_offset w30, -8
# | 17: .cfi_offset w29, -16
# | 18: Lloh0:
# | next:35'0 X error: no match found
# | 19: adrp x14, __DefaultRuneLocale at GOTPAGE
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:35'1 ? possible intended match
# | 20: ldrb w12, [x0, #4]
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~
# | 21: ldrb w13, [x1, #4]
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~
# | 22: ldr x9, [x0, #16]
# | next:35'0 ~~~~~~~~~~~~~~~~~~~
# | 23: ldr x10, [x1, #16]
# | next:35'0 ~~~~~~~~~~~~~~~~~~~~
# | 24: mov x11, xzr
# | next:35'0 ~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/divergence-temporal-divergent-reg.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 -new-reg-bank-select < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\divergence-temporal-divergent-reg.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX10 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\divergence-temporal-divergent-reg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 -new-reg-bank-select
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GFX10 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\divergence-temporal-divergent-reg.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\divergence-temporal-divergent-reg.ll:8:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: s_mov_b32 s5, -1
# | ^
# | <stdin>:8:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:9:2: note: possible intended match here
# | s_mov_b32 s5, 0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\divergence-temporal-divergent-reg.ll:43:15: error: GFX10-NEXT: expected string not found in input
# | ; GFX10-NEXT: s_mov_b32 s5, -1
# | ^
# | <stdin>:51:41: note: scanning from here
# | s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | ^
# | <stdin>:52:2: note: possible intended match here
# | s_mov_b32 s5, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\divergence-temporal-divergent-reg.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .amdgcn_target "amdgcn-amd-amdpal--gfx1010"
# | 2: .text
# | 3: .globl temporal_divergent_i32 ; -- Begin function temporal_divergent_i32
# | 4: .p2align 6
# | 5: .type temporal_divergent_i32, at function
# | 6: temporal_divergent_i32: ; @temporal_divergent_i32
# | 7: ; %bb.0: ; %entry
# | 8: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:8'0 X error: no match found
# | 9: s_mov_b32 s5, 0
# | next:8'0 ~~~~~~~~~~~~~~~~~
# | next:8'1 ? possible intended match
# | 10: s_mov_b32 s4, 0
# | next:8'0 ~~~~~~~~~~~~~~~~~
# | 11: .LBB0_1: ; %loop
# | next:8'0 ~~~~~~~~~~~~~~~~~
# | 12: ; =>This Inner Loop Header: Depth=1
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: v_cvt_f32_u32_e32 v3, s5
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: v_cmp_gt_f32_e32 vcc_lo, v3, v0
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 46: .globl temporal_divergent_i32_multiple_use ; -- Begin function temporal_divergent_i32_multiple_use
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 47: .p2align 6
# | next:8'0 ~~~~~~~~~~~~
# | 48: .type temporal_divergent_i32_multiple_use, at function
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 49: temporal_divergent_i32_multiple_use: ; @temporal_divergent_i32_multiple_use
# | next:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 50: ; %bb.0: ; %entry
# | 51: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | next:43'0 X error: no match found
# | 52: s_mov_b32 s5, 0
# | next:43'0 ~~~~~~~~~~~~~~~~~
# | next:43'1 ? possible intended match
# | 53: s_mov_b32 s4, 0
# | next:43'0 ~~~~~~~~~~~~~~~~~
# | 54: .LBB1_1: ; %loop
# | next:43'0 ~~~~~~~~~~~~~~~~~
# | 55: ; =>This Inner Loop Header: Depth=1
# | next:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 56: v_cvt_f32_u32_e32 v5, s5
# | next:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 57: v_cmp_gt_f32_e32 vcc_lo, v5, v0
# | next:43'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/regbankselect-mui.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankselect-mui.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OLD_RBS C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankselect-mui.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OLD_RBS 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankselect-mui.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankselect-mui.ll:430:17: error: OLD_RBS-NEXT: expected string not found in input
# | ; OLD_RBS-NEXT: s_mov_b32 s0, -1
# | ^
# | <stdin>:733:18: note: scanning from here
# | ; %bb.0: ; %entry
# | ^
# | <stdin>:734:2: note: possible intended match here
# | s_mov_b32 s0, 0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\regbankselect-mui.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 728: .text
# | 729: .globl divergent_because_of_temporal_divergent_use ; -- Begin function divergent_because_of_temporal_divergent_use
# | 730: .p2align 8
# | 731: .type divergent_because_of_temporal_divergent_use, at function
# | 732: divergent_because_of_temporal_divergent_use: ; @divergent_because_of_temporal_divergent_use
# | 733: ; %bb.0: ; %entry
# | next:430'0 X error: no match found
# | 734: s_mov_b32 s0, 0
# | next:430'0 ~~~~~~~~~~~~~~~~~
# | next:430'1 ? possible intended match
# | 735: v_mov_b32_e32 v4, s0
# | next:430'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 736: .LBB15_1: ; %loop
# | next:430'0 ~~~~~~~~~~~~~~~~~~
# | 737: ; =>This Inner Loop Header: Depth=1
# | next:430'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 738: v_mov_b32_e32 v3, v4
# | next:430'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 739: v_cvt_f32_u32_e32 v4, v3
# | next:430'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/llvm.amdgcn.init.whole.wave-w32.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel=1 -O2 -mtriple=amdgcn -mcpu=gfx1200 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.init.whole.wave-w32.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GISEL12 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.init.whole.wave-w32.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel=1 -O2 -mtriple=amdgcn -mcpu=gfx1200
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GISEL12 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.init.whole.wave-w32.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.init.whole.wave-w32.ll:357:17: error: GISEL12-NEXT: expected string not found in input
# | ; GISEL12-NEXT: v_add_nc_u32_e32 v1, -1, v12
# | ^
# | <stdin>:203:29: note: scanning from here
# | ; %bb.1: ; %shader.preheader
# | ^
# | <stdin>:227:2: note: possible intended match here
# | v_add_nc_u32_e32 v10, 42, v1
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.init.whole.wave-w32.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 198: s_mov_b32 s6, s3
# | 199: s_mov_b32 s7, s4
# | 200: s_wait_alu depctr_sa_sdst(0)
# | 201: s_and_saveexec_b32 s3, s8
# | 202: s_cbranch_execz .LBB3_4
# | 203: ; %bb.1: ; %shader.preheader
# | next:357'0 X error: no match found
# | 204: v_mov_b32_e32 v2, v12
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 205: s_mov_b32 s4, 0
# | next:357'0 ~~~~~~~~~~~~~~~~~
# | 206: .LBB3_2: ; %shader
# | next:357'0 ~~~~~~~~~~~~~~~~~~~
# | 207: ; =>This Inner Loop Header: Depth=1
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 208: s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 222: s_wait_alu depctr_sa_sdst(0)
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 223: s_and_not1_b32 exec_lo, exec_lo, s4
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 224: s_cbranch_execnz .LBB3_2
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 225: ; %bb.3: ; %tail.loopexit
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 226: s_or_b32 exec_lo, exec_lo, s4
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 227: v_add_nc_u32_e32 v10, 42, v1
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:357'1 ? possible intended match
# | 228: .LBB3_4: ; %Flow1
# | next:357'0 ~~~~~~~~~~~~~~~~~~
# | 229: s_wait_alu depctr_sa_sdst(0)
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 230: s_or_b32 exec_lo, exec_lo, s3
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 231: s_delay_alu instid0(SALU_CYCLE_1)
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 232: s_mov_b32 s3, exec_lo
# | next:357'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/machine-sink-loop-var-out-of-divergent-loop-swdev407790.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1031 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\machine-sink-loop-var-out-of-divergent-loop-swdev407790.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\machine-sink-loop-var-out-of-divergent-loop-swdev407790.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1031
# 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\AMDGPU\machine-sink-loop-var-out-of-divergent-loop-swdev407790.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\machine-sink-loop-var-out-of-divergent-loop-swdev407790.ll:42:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: s_mov_b32 s9, 4
# | ^
# | <stdin>:40:22: note: scanning from here
# | v_mov_b32_e32 v4, v2
# | ^
# | <stdin>:41:2: note: possible intended match here
# | s_mov_b32 s9, 1
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\machine-sink-loop-var-out-of-divergent-loop-swdev407790.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 35: v_mov_b32_e32 v3, 0
# | 36: s_and_saveexec_b32 s7, s4
# | 37: s_cbranch_execz .LBB0_2
# | 38: ; %bb.4: ; %for.body51.preheader
# | 39: ; in Loop: Header=BB0_3 Depth=1
# | 40: v_mov_b32_e32 v4, v2
# | next:42'0 X error: no match found
# | 41: s_mov_b32 s9, 1
# | next:42'0 ~~~~~~~~~~~~~~~~~
# | next:42'1 ? possible intended match
# | 42: s_mov_b32 s8, 0
# | next:42'0 ~~~~~~~~~~~~~~~~~
# | 43: s_branch .LBB0_6
# | next:42'0 ~~~~~~~~~~~~~~~~~~
# | 44: .p2align 6
# | next:42'0 ~~~~~~~~~~~~
# | 45: .LBB0_5: ; %if.end118
# | next:42'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 46: ; in Loop: Header=BB0_6 Depth=2
# | next:42'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/ctrloops-pseudo.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -verify-machineinstrs -stop-after=finalize-isel -mtriple=powerpc64-ibm-aix-xcoff -mcpu=pwr4 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops-pseudo.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=AIX64 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops-pseudo.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -verify-machineinstrs -stop-after=finalize-isel -mtriple=powerpc64-ibm-aix-xcoff -mcpu=pwr4
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=AIX64 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops-pseudo.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops-pseudo.ll:377:16: error: AIX64-NEXT: is not on the line after the previous match
# | ; AIX64-NEXT: [[SUBF:%[0-9]+]]:gprc = SUBF [[PHI]], [[COPY1]]
# | ^
# | <stdin>:504:2: note: 'next' match was here
# | %10:gprc = SUBF %5, %2
# | ^
# | <stdin>:498:36: note: previous match ended here
# | %5:gprc = PHI %4, %bb.3, %2, %bb.0
# | ^
# | <stdin>:499:1: note: non-matching line after previous match is here
# | %6:g8rc = LDtoc target-flags(ppc-tlsgdm) @tls_var, $x2 :: (load (s64) from got)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops-pseudo.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 499: %6:g8rc = LDtoc target-flags(ppc-tlsgdm) @tls_var, $x2 :: (load (s64) from got)
# | 500: %7:g8rc = LDtoc target-flags(ppc-tlsgd) @tls_var, $x2 :: (load (s64) from got)
# | 501: %8:g8rc = TLSGDAIX8 killed %7, killed %6
# | 502: %9:gprc = COPY %8.sub_32
# | 503: %0:gprc = ADD4 %5, killed %9
# | 504: %10:gprc = SUBF %5, %2
# | next:377 !~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 505: %12:g8rc = IMPLICIT_DEF
# | 506: %11:g8rc = INSERT_SUBREG %12, killed %10, %subreg.sub_32
# | 507: %13:g8rc_and_g8rc_nox0 = RLDICL killed %11, 0, 32
# | 508: %14:g8rc = nuw nsw ADDI8 killed %13, 1
# | 509: MTCTR8loop killed %14, implicit-def dead $ctr8
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/ctrloops.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -verify-machineinstrs < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops.ll -relocation-model=pic | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -verify-machineinstrs -relocation-model=pic
# 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\PowerPC\ctrloops.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops.ll:94:10: error: CHECK: expected string not found in input
# | ; CHECK: mtctr
# | ^
# | <stdin>:106:16: note: scanning from here
# | test4: # @test4
# | ^
# | <stdin>:114:12: note: possible intended match here
# | # %bb.0: # %entry
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\ctrloops.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 101: # -- End function
# | 102: .globl test4 # -- Begin function test4
# | 103: .p2align 2
# | 104: .type test4, at function
# | 105: .section .opd,"aw", at progbits
# | 106: test4: # @test4
# | check:94'0 X error: no match found
# | 107: .p2align 3, 0x0
# | check:94'0 ~~~~~~~~~~~~~~~~~
# | 108: .quad .Lfunc_begin3
# | check:94'0 ~~~~~~~~~~~~~~~~~~~~~
# | 109: .quad .TOC. at tocbase
# | check:94'0 ~~~~~~~~~~~~~~~~~~~~~
# | 110: .quad 0
# | check:94'0 ~~~~~~~~~
# | 111: .text
# | check:94'0 ~~~~~~~
# | 112: .Lfunc_begin3:
# | check:94'0 ~~~~~~~~~~~~~~~
# | 113: .cfi_startproc
# | check:94'0 ~~~~~~~~~~~~~~~~
# | 114: # %bb.0: # %entry
# | check:94'0 ~~~~~~~~~~~~~~~~~~
# | check:94'1 ? possible intended match
# | 115: mflr 0
# | check:94'0 ~~~~~~~~
# | 116: stdu 1, -80(1)
# | check:94'0 ~~~~~~~~~~~~~~~~
# | 117: std 0, 96(1)
# | check:94'0 ~~~~~~~~~~~~~~
# | 118: .cfi_def_cfa_offset 80
# | check:94'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 119: .cfi_offset lr, 16
# | check:94'0 ~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/PowerPC/sms-cpy-1.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\sms-cpy-1.ll -mtriple=powerpc64le-unknown-linux-gnu -verify-machineinstrs -mcpu=pwr9 --ppc-enable-pipeliner 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\sms-cpy-1.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=powerpc64le-unknown-linux-gnu -verify-machineinstrs -mcpu=pwr9 --ppc-enable-pipeliner
# 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\PowerPC\sms-cpy-1.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\sms-cpy-1.ll:18:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: iselgt 4, 4, 5
# | ^
# | <stdin>:23:13: note: scanning from here
# | cmpldi 4, 1
# | ^
# | <stdin>:24:2: note: possible intended match here
# | iselgt 5, 4, 5
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\PowerPC\sms-cpy-1.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 18: clrldi 5, 4, 32
# | 19: cmplwi 4, 3
# | 20: li 4, 3
# | 21: isellt 4, 5, 4
# | 22: li 5, 1
# | 23: cmpldi 4, 1
# | next:18'0 X error: no match found
# | 24: iselgt 5, 4, 5
# | next:18'0 ~~~~~~~~~~~~~~~~
# | next:18'1 ? possible intended match
# | 25: neg 4, 5
# | next:18'0 ~~~~~~~~~~
# | 26: mtctr 5
# | next:18'0 ~~~~~~~~~
# | 27: li 5, 0
# | next:18'0 ~~~~~~~~~
# | 28: li 8, -1
# | next:18'0 ~~~~~~~~~~
# | 29: lbz 6, 0(3)
# | next:18'0 ~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/lsr-addrecloops.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\lsr-addrecloops.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\lsr-addrecloops.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe'
# 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\X86\lsr-addrecloops.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\lsr-addrecloops.ll:16:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: vxorps %xmm0, %xmm0, %xmm0
# | ^
# | <stdin>:13:2: note: 'next' match was here
# | vxorps %xmm0, %xmm0, %xmm0
# | ^
# | <stdin>:11:16: note: previous match ended here
# | movl $1, %r10d
# | ^
# | <stdin>:12:1: note: non-matching line after previous match is here
# | xorl %eax, %eax
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\lsr-addrecloops.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 8: .cfi_startproc
# | 9: # %bb.0: # %.preheader263
# | 10: leaq (,%rcx,4), %r9
# | 11: movl $1, %r10d
# | 12: xorl %eax, %eax
# | 13: vxorps %xmm0, %xmm0, %xmm0
# | next:16 !~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 14: jmp .LBB0_1
# | 15: .p2align 4
# | 16: .LBB0_20: # in Loop: Header=BB0_1 Depth=1
# | 17: incq %r10
# | 18: addq %r9, %rax
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/AMDGPU/lsr-invalid-ptr-extend.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -mtriple=amdgcn -loop-reduce -S < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\AMDGPU\lsr-invalid-ptr-extend.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\AMDGPU\lsr-invalid-ptr-extend.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -mtriple=amdgcn -loop-reduce -S
# 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\Transforms\LoopStrengthReduce\AMDGPU\lsr-invalid-ptr-extend.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\AMDGPU\lsr-invalid-ptr-extend.ll:27:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[LSR_IV12:%.*]] = phi ptr [ [[SCEVGEP13]], [[FOR_BODY]] ], [ null, [[ENTRY:%.*]] ]
# | ^
# | <stdin>:26:10: note: scanning from here
# | for.body: ; preds = %for.body, %entry
# | ^
# | <stdin>:26:10: note: with "SCEVGEP13" equal to "%lsr.iv"
# | for.body: ; preds = %for.body, %entry
# | ^
# | <stdin>:26:10: note: with "FOR_BODY" equal to "%for.body"
# | for.body: ; preds = %for.body, %entry
# | ^
# | <stdin>:28:4: note: possible intended match here
# | %lsr.iv = phi ptr [ %scevgep, %for.body ], [ inttoptr (i64 64 to ptr), %entry ]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\AMDGPU\lsr-invalid-ptr-extend.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 21: store ptr %0, ptr %lsr.iv1, align 8
# | 22: %scevgep2 = getelementptr i8, ptr %lsr.iv1, i64 8
# | 23: %scevgep6 = getelementptr i8, ptr addrspace(5) %lsr.iv5, i32 8
# | 24: br label %for.body.1
# | 25:
# | 26: for.body: ; preds = %for.body, %entry
# | next:27'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | next:27'1 with "SCEVGEP13" equal to "%lsr.iv"
# | next:27'2 with "FOR_BODY" equal to "%for.body"
# | 27: %lsr.iv3 = phi ptr addrspace(5) [ %scevgep4, %for.body ], [ inttoptr (i32 64 to ptr addrspace(5)), %entry ]
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: %lsr.iv = phi ptr [ %scevgep, %for.body ], [ inttoptr (i64 64 to ptr), %entry ]
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27'3 ? possible intended match
# | 29: %scevgep = getelementptr i8, ptr %lsr.iv, i64 64
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: %scevgep4 = getelementptr i8, ptr addrspace(5) %lsr.iv3, i32 64
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 31: br i1 false, label %loopexit, label %for.body
# | next:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 32: }
# | next:27'0 ~~
# | 33:
# | next:27'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/ARM/illegal-addr-modes.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\ARM\illegal-addr-modes.ll -loop-reduce -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\ARM\illegal-addr-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -loop-reduce -S
# 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\Transforms\LoopStrengthReduce\ARM\illegal-addr-modes.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\ARM\illegal-addr-modes.ll:34:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: br label [[WHILE_COND2:%.*]]
# | ^
# | <stdin>:22:2: note: 'next' match was here
# | br label %while.cond2
# | ^
# | <stdin>:20:59: note: previous match ended here
# | %incdec.ptr.lcssa5 = phi ptr [ %incdec.ptr, %while.cond ]
# | ^
# | <stdin>:21:1: note: non-matching line after previous match is here
# | %incdec.ptr.lcssa3 = phi ptr [ %incdec.ptr, %while.cond ]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\ARM\illegal-addr-modes.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 17: br i1 %cmp, label %while.cond2.preheader, label %while.cond
# | 18:
# | 19: while.cond2.preheader: ; preds = %while.cond
# | 20: %incdec.ptr.lcssa5 = phi ptr [ %incdec.ptr, %while.cond ]
# | 21: %incdec.ptr.lcssa3 = phi ptr [ %incdec.ptr, %while.cond ]
# | 22: br label %while.cond2
# | next:34 !~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 23:
# | 24: while.cond2: ; preds = %while.body5, %while.cond2.preheader
# | 25: %lsr.iv = phi i32 [ %lsr.iv.next, %while.body5 ], [ 0, %while.cond2.preheader ]
# | 26: %scevgep1 = getelementptr i8, ptr %b, i32 %lsr.iv
# | 27: %scevgep4 = getelementptr i8, ptr %incdec.ptr.lcssa3, i32 %lsr.iv
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/X86/expander-reused-value-insert-point.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -loop-reduce -S C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\expander-reused-value-insert-point.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\expander-reused-value-insert-point.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -loop-reduce -S 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\expander-reused-value-insert-point.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\Transforms\LoopStrengthReduce\X86\expander-reused-value-insert-point.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\expander-reused-value-insert-point.ll:32:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[P0R_0_LCSSA:%.*]] = phi ptr [ [[ADD_PTR94_LCSSA]], [[FOR_END_LOOPEXIT]] ]
# | ^
# | <stdin>:32:9: note: scanning from here
# | for.end: ; preds = %for.end.loopexit
# | ^
# | <stdin>:32:9: note: with "ADD_PTR94_LCSSA" equal to "%add.ptr94.lcssa"
# | for.end: ; preds = %for.end.loopexit
# | ^
# | <stdin>:32:9: note: with "FOR_END_LOOPEXIT" equal to "%for.end.loopexit"
# | for.end: ; preds = %for.end.loopexit
# | ^
# | <stdin>:33:2: note: possible intended match here
# | %ec1 = icmp eq ptr %add.ptr94.lcssa, %end
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\expander-reused-value-insert-point.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 27:
# | 28: for.end.loopexit: ; preds = %for.body37
# | 29: %add.ptr94.lcssa = phi ptr [ %add.ptr94, %for.body37 ]
# | 30: br label %for.end
# | 31:
# | 32: for.end: ; preds = %for.end.loopexit
# | next:32'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | next:32'1 with "ADD_PTR94_LCSSA" equal to "%add.ptr94.lcssa"
# | next:32'2 with "FOR_END_LOOPEXIT" equal to "%for.end.loopexit"
# | 33: %ec1 = icmp eq ptr %add.ptr94.lcssa, %end
# | next:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:32'3 ? possible intended match
# | 34: br i1 %ec1, label %for.body15, label %for.inc133
# | next:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 35:
# | next:32'0 ~
# | 36: for.inc133: ; preds = %for.end
# | next:32'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 37: ret void
# | next:32'0 ~~~~~~~~~~
# | 38: }
# | next:32'0 ~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -loop-reduce -S C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\normalization-during-scev-expansion.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\normalization-during-scev-expansion.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -loop-reduce -S 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\normalization-during-scev-expansion.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\Transforms\LoopStrengthReduce\X86\normalization-during-scev-expansion.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\normalization-during-scev-expansion.ll:13:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[TMP0:%.*]] = mul i64 [[V5]], [[V4]]
# | ^
# | <stdin>:38:2: note: 'next' match was here
# | %12 = mul i64 %v5, %v4
# | ^
# | <stdin>:9:7: note: previous match ended here
# | entry:
# | ^
# | <stdin>:10:1: note: non-matching line after previous match is here
# | %0 = add i64 %v7, %v6
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\normalization-during-scev-expansion.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 33: %scevgep5 = getelementptr i8, ptr %lsr.iv4, i64 %4
# | 34: br i1 %c, label %exit, label %loop
# | 35:
# | 36: exit: ; preds = %loop
# | 37: %scevgep1.lcssa = phi ptr [ %scevgep1, %loop ]
# | 38: %12 = mul i64 %v5, %v4
# | next:13 !~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 39: %13 = shl i64 %12, 4
# | 40: %scevgep2 = getelementptr i8, ptr %scevgep1.lcssa, i64 %13
# | 41: ret ptr %scevgep2
# | 42: }
# | 43:
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/X86/sibling-loops.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -loop-reduce -S < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\sibling-loops.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\sibling-loops.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -loop-reduce -S
# 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\Transforms\LoopStrengthReduce\X86\sibling-loops.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\sibling-loops.ll:30:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP0:%.*]] = add i64 [[INC_LCSSA1]], [[I_1]]
# | ^
# | <stdin>:25:65: note: scanning from here
# | %i.1 = phi i64 [ %inc3, %do.body2 ], [ 0, %do.body2.preheader ]
# | ^
# | <stdin>:25:65: note: with "INC_LCSSA1" equal to "%inc.lcssa4"
# | %i.1 = phi i64 [ %inc3, %do.body2 ], [ 0, %do.body2.preheader ]
# | ^
# | <stdin>:25:65: note: with "I_1" equal to "%i.1"
# | %i.1 = phi i64 [ %inc3, %do.body2 ], [ 0, %do.body2.preheader ]
# | ^
# | <stdin>:43:3: note: possible intended match here
# | %inc10 = add i64 %j.2, 1
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\X86\sibling-loops.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 20: %inc.lcssa4 = phi i64 [ %inc, %do.body ]
# | 21: %inc.lcssa2 = phi i64 [ %inc, %do.body ]
# | 22: br label %do.body2
# | 23:
# | 24: do.body2: ; preds = %do.body2, %do.body2.preheader
# | 25: %i.1 = phi i64 [ %inc3, %do.body2 ], [ 0, %do.body2.preheader ]
# | next:30'0 X error: no match found
# | next:30'1 with "INC_LCSSA1" equal to "%inc.lcssa4"
# | next:30'2 with "I_1" equal to "%i.1"
# | 26: %0 = add i64 %inc.lcssa2, %i.1
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: tail call void @goo(i64 %i.1, i64 %0)
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: %inc3 = add nuw i64 %i.1, 1
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %t1 = load i64, ptr @cond, align 8
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 30: %tobool6 = icmp eq i64 %t1, 0
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 38: do.body8: ; preds = %do.body8, %do.body8.preheader
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 39: %i.2 = phi i64 [ %inc9, %do.body8 ], [ 0, %do.body8.preheader ]
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 40: %j.2 = phi i64 [ %inc10, %do.body8 ], [ %1, %do.body8.preheader ]
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 41: tail call void @goo(i64 %i.2, i64 %j.2)
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 42: %inc9 = add nuw nsw i64 %i.2, 1
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 43: %inc10 = add i64 %j.2, 1
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:30'3 ? possible intended match
# | 44: %t2 = load i64, ptr @cond, align 8
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: %tobool12 = icmp eq i64 %t2, 0
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 46: br i1 %tobool12, label %do.body14.preheader, label %do.body8
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 47:
# | next:30'0 ~
# | 48: do.body14.preheader: ; preds = %do.body8
# | next:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -loop-reduce C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll -o - -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll --check-prefix=LEGACYPM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -loop-reduce 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll' -o - -S
# 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\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll' --check-prefix=LEGACYPM
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes='loop(loop-reduce)' C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll -o - -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll --check-prefix=NEWPM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' '-passes=loop(loop-reduce)' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll' -o - -S
# 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\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll' --check-prefix=NEWPM
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll:38:15: error: NEWPM-NEXT: expected string not found in input
# | ; NEWPM-NEXT: to label [[ASM_FALLTHROUGH_I_I:%.*]] [label [[COND_TRUE_I:%.*]], label %for.end]
# | ^
# | <stdin>:10:70: note: scanning from here
# | callbr void asm sideeffect "", "!i,!i,~{dirflag},~{fpsr},~{flags}"()
# | ^
# | <stdin>:11:29: note: possible intended match here
# | to label %asm.fallthrough.i.i [label %cond.true.i, label %for.endsplit]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\callbr-critical-edge-splitting.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 5: define dso_local i32 @test1() local_unnamed_addr {
# | 6: entry:
# | 7: br label %for.cond
# | 8:
# | 9: for.cond: ; preds = %for.inc, %entry
# | 10: callbr void asm sideeffect "", "!i,!i,~{dirflag},~{fpsr},~{flags}"()
# | next:38'0 X error: no match found
# | 11: to label %asm.fallthrough.i.i [label %cond.true.i, label %for.endsplit]
# | next:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:38'1 ? possible intended match
# | 12:
# | next:38'0 ~
# | 13: asm.fallthrough.i.i: ; preds = %for.cond
# | next:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: unreachable
# | next:38'0 ~~~~~~~~~~~~~
# | 15:
# | next:38'0 ~
# | 16: cond.true.i: ; preds = %for.cond
# | next:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopStrengthReduce/funclet.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\funclet.ll -loop-reduce -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\funclet.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -loop-reduce -S
# 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\Transforms\LoopStrengthReduce\funclet.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\funclet.ll:336:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[TMP18:%.*]] = catchswitch within none [label %catch.handler] unwind to caller
# | ^
# | <stdin>:202:2: note: 'next' match was here
# | %tmp18 = catchswitch within none [label %catch.handler] unwind to caller
# | ^
# | <stdin>:200:16: note: previous match ended here
# | catch.dispatch: ; preds = %for.body
# | ^
# | <stdin>:201:1: note: non-matching line after previous match is here
# | %phi.lcssa1 = phi i32 [ %phi, %for.body ]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopStrengthReduce\funclet.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 197: invoke void @reserve()
# | 198: to label %for.inc unwind label %catch.dispatch
# | 199:
# | 200: catch.dispatch: ; preds = %for.body
# | 201: %phi.lcssa1 = phi i32 [ %phi, %for.body ]
# | 202: %tmp18 = catchswitch within none [label %catch.handler] unwind to caller
# | next:336 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 203:
# | 204: catch.handler: ; preds = %catch.dispatch
# | 205: %tmp19 = catchpad within %tmp18 [ptr null]
# | 206: catchret from %tmp19 to label %done
# | 207:
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/191665
More information about the llvm-branch-commits
mailing list