[llvm] [ExpandReductions] Add support for non-pow2 vector counts (PR #208738)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 10 09:38:13 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 178673 tests passed
* 3595 tests skipped
* 11 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/rvv/fixed-vectors-reduction-int.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=+m,+v -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int.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/rvv/fixed-vectors-reduction-int.ll --check-prefixes=CHECK,RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+m,+v -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/rvv/fixed-vectors-reduction-int.ll --check-prefixes=CHECK,RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int.ll:5382:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vsetivli zero, 4, e8, mf4, ta, ma
# | ^
# | <stdin>:5258:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:5259:2: note: possible intended match here
# | vsetivli zero, 3, e8, mf4, ta, ma
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 5253: .globl vreduce_mul_v3i8 # -- Begin function vreduce_mul_v3i8
# | 5254: .p2align 2
# | 5255: .type vreduce_mul_v3i8, at function
# | 5256: vreduce_mul_v3i8: # @vreduce_mul_v3i8
# | 5257: .cfi_startproc
# | 5258: # %bb.0:
# | next:5382'0 { search range start (exclusive)
# | next:5382'1 error: no match found in search range
# | 5259: vsetivli zero, 3, e8, mf4, ta, ma
# | next:5382'2 ? possible intended match
# | 5260: vle8.v v8, (a0)
# | 5261: vmv.x.s a0, v8
# | 5262: vslidedown.vi v9, v8, 1
# | 5263: vmv.x.s a1, v9
# | 5264: vslidedown.vi v8, v8, 2
# | .
# | .
# | .
# | 5271: .cfi_endproc
# | 5272: # -- End function
# | 5273: .globl vreduce_mul_v4i8 # -- Begin function vreduce_mul_v4i8
# | 5274: .p2align 2
# | 5275: .type vreduce_mul_v4i8, at function
# | 5276: vreduce_mul_v4i8: # @vreduce_mul_v4i8
# | next:5382'3 } search range end (exclusive)
# | 5277: .cfi_startproc
# | 5278: # %bb.0:
# | 5279: vsetivli zero, 4, e8, mf4, ta, ma
# | 5280: vle8.v v8, (a0)
# | 5281: vslidedown.vi v9, v8, 2
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/rvv/vreductions-int.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
sed 's/iXLen/i32/g' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/vreductions-int.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+m,+v -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/rvv/vreductions-int.ll --check-prefixes=CHECK,RV32
# executed command: sed s/iXLen/i32/g /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/vreductions-int.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 -mattr=+m,+v -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/rvv/vreductions-int.ll --check-prefixes=CHECK,RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/vreductions-int.ll:2425:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, ma
# | ^
# | <stdin>:2395:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:2396:2: note: possible intended match here
# | vsetivli zero, 1, e32, m1, ta, ma
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/vreductions-int.ll:2481:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, ma
# | ^
# | <stdin>:2440:9: note: scanning from here
# | # %bb.0:
# | ^
# | <stdin>:2441:2: note: possible intended match here
# | vsetivli zero, 1, e32, m1, ta, ma
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/vreductions-int.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2390: .p2align 2
# | 2391: .type vreduce_mul_nxv6i32_from_nxv8i32_exact_vlen, at function
# | 2392: .variant_cc vreduce_mul_nxv6i32_from_nxv8i32_exact_vlen
# | 2393: vreduce_mul_nxv6i32_from_nxv8i32_exact_vlen: # @vreduce_mul_nxv6i32_from_nxv8i32_exact_vlen
# | 2394: .cfi_startproc
# | 2395: # %bb.0:
# | next:2425'0 { search range start (exclusive)
# | next:2425'1 error: no match found in search range
# | 2396: vsetivli zero, 1, e32, m1, ta, ma
# | next:2425'2 ? possible intended match
# | 2397: vslidedown.vi v11, v10, 1
# | 2398: vmv.x.s a0, v11
# | 2399: vmv.x.s a1, v10
# | 2400: vslidedown.vi v11, v9, 3
# | 2401: vmv.x.s a2, v11
# | .
# | .
# | .
# | 2433: # -- End function
# | 2434: .globl vreduce_mul_nxv6i32_exact_vlen # -- Begin function vreduce_mul_nxv6i32_exact_vlen
# | 2435: .p2align 2
# | 2436: .type vreduce_mul_nxv6i32_exact_vlen, at function
# | 2437: .variant_cc vreduce_mul_nxv6i32_exact_vlen
# | 2438: vreduce_mul_nxv6i32_exact_vlen: # @vreduce_mul_nxv6i32_exact_vlen
# | next:2425'3 } search range end (exclusive)
# | 2439: .cfi_startproc
# | 2440: # %bb.0:
# | next:2481'0 { search range start (exclusive)
# | next:2481'1 error: no match found in search range
# | 2441: vsetivli zero, 1, e32, m1, ta, ma
# | next:2481'2 ? possible intended match
# | 2442: vslidedown.vi v11, v10, 1
# | 2443: vmv.x.s a0, v11
# | 2444: vmv.x.s a1, v10
# | 2445: vslidedown.vi v11, v9, 3
# | 2446: vmv.x.s a2, v11
# | .
# | .
# | .
# | 2478: # -- End function
# | 2479: .globl vreduce_mul_nxv8i31_exact_vlen # -- Begin function vreduce_mul_nxv8i31_exact_vlen
# | 2480: .p2align 2
# | 2481: .type vreduce_mul_nxv8i31_exact_vlen, at function
# | 2482: .variant_cc vreduce_mul_nxv8i31_exact_vlen
# | 2483: vreduce_mul_nxv8i31_exact_vlen: # @vreduce_mul_nxv8i31_exact_vlen
# | next:2481'3 } search range end (exclusive)
# | 2484: .cfi_startproc
# | 2485: # %bb.0:
# | 2486: addi sp, sp, -16
# | 2487: .cfi_def_cfa_offset 16
# | 2488: sw s0, 12(sp) # 4-byte Folded Spill
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll:35:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpIAdd %[[Char]] %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:186:2: note: possible intended match here
# | %104 = OpIAdd %31 %101 %103
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/add.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpIAdd %22 %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:35'0 { search range start (exclusive)
# | check:35'1 error: no match found in search range
# | check:35'2 with "Char" equal to "22"
# | check:35'3 with "Vec3CharItem0" equal to "89"
# | check:35'4 with "Vec3CharItem1" equal to "90"
# | check:35'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpIAdd %22 %91 %92
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_add_v4i8
# | .
# | .
# | .
# | 181: ; -- End function
# | 182: %102 = OpFunction %22 None %32 ; -- Begin function test_vector_reduce_add_v8i8
# | 183: %101 = OpFunctionParameter %31
# | 184: %5 = OpLabel
# | 185: %103 = OpVectorShuffle %31 %101 %33 4 5 6 7 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 186: %104 = OpIAdd %31 %101 %103
# | check:35'6 ? possible intended match
# | 187: %105 = OpVectorShuffle %31 %104 %33 2 3 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 188: %106 = OpIAdd %31 %104 %105
# | 189: %107 = OpVectorShuffle %31 %106 %33 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 190: %108 = OpIAdd %31 %106 %107
# | 191: %109 = OpCompositeExtract %22 %108 0
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpIAdd %79 %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:35'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll:35:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpBitwiseAnd %[[Char]] %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:186:2: note: possible intended match here
# | %104 = OpBitwiseAnd %31 %101 %103
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/and.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpBitwiseAnd %22 %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:35'0 { search range start (exclusive)
# | check:35'1 error: no match found in search range
# | check:35'2 with "Char" equal to "22"
# | check:35'3 with "Vec3CharItem0" equal to "89"
# | check:35'4 with "Vec3CharItem1" equal to "90"
# | check:35'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpBitwiseAnd %22 %91 %92
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_and_v4i8
# | .
# | .
# | .
# | 181: ; -- End function
# | 182: %102 = OpFunction %22 None %32 ; -- Begin function test_vector_reduce_and_v8i8
# | 183: %101 = OpFunctionParameter %31
# | 184: %5 = OpLabel
# | 185: %103 = OpVectorShuffle %31 %101 %33 4 5 6 7 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 186: %104 = OpBitwiseAnd %31 %101 %103
# | check:35'6 ? possible intended match
# | 187: %105 = OpVectorShuffle %31 %104 %33 2 3 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 188: %106 = OpBitwiseAnd %31 %104 %105
# | 189: %107 = OpVectorShuffle %31 %106 %33 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 190: %108 = OpBitwiseAnd %31 %106 %107
# | 191: %109 = OpCompositeExtract %22 %108 0
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpBitwiseAnd %79 %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:35'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpIMul %[[Char]] %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:186:2: note: possible intended match here
# | %104 = OpIMul %31 %101 %103
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/mul.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpIMul %22 %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpIMul %22 %91 %92
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_mul_v4i8
# | .
# | .
# | .
# | 181: ; -- End function
# | 182: %102 = OpFunction %22 None %32 ; -- Begin function test_vector_reduce_mul_v8i8
# | 183: %101 = OpFunctionParameter %31
# | 184: %5 = OpLabel
# | 185: %103 = OpVectorShuffle %31 %101 %33 4 5 6 7 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 186: %104 = OpIMul %31 %101 %103
# | check:34'6 ? possible intended match
# | 187: %105 = OpVectorShuffle %31 %104 %33 2 3 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 188: %106 = OpIMul %31 %104 %105
# | 189: %107 = OpVectorShuffle %31 %106 %33 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 190: %108 = OpIMul %31 %106 %107
# | 191: %109 = OpCompositeExtract %22 %108 0
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpIMul %79 %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpBitwiseOr %[[Char]] %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:186:2: note: possible intended match here
# | %104 = OpBitwiseOr %31 %101 %103
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/or.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpBitwiseOr %22 %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpBitwiseOr %22 %91 %92
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_or_v4i8
# | .
# | .
# | .
# | 181: ; -- End function
# | 182: %102 = OpFunction %22 None %32 ; -- Begin function test_vector_reduce_or_v8i8
# | 183: %101 = OpFunctionParameter %31
# | 184: %5 = OpLabel
# | 185: %103 = OpVectorShuffle %31 %101 %33 4 5 6 7 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 186: %104 = OpBitwiseOr %31 %101 %103
# | check:34'6 ? possible intended match
# | 187: %105 = OpVectorShuffle %31 %104 %33 2 3 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 188: %106 = OpBitwiseOr %31 %104 %105
# | 189: %107 = OpVectorShuffle %31 %106 %33 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 190: %108 = OpBitwiseOr %31 %106 %107
# | 191: %109 = OpCompositeExtract %22 %108 0
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpBitwiseOr %79 %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpExtInst %[[Char]] %[[#]] s_max %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:167:2: note: possible intended match here
# | %93 = OpExtInst %22 %1 s_max %91 %92
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smax.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpExtInst %22 %1 s_max %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpExtInst %22 %1 s_max %91 %92
# | check:34'6 ? possible intended match
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_smax_v4i8
# | 172: %94 = OpFunctionParameter %28
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpExtInst %79 %1 s_max %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpExtInst %[[Char]] %[[#]] s_min %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:167:2: note: possible intended match here
# | %93 = OpExtInst %22 %1 s_min %91 %92
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/smin.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpExtInst %22 %1 s_min %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpExtInst %22 %1 s_min %91 %92
# | check:34'6 ? possible intended match
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_smin_v4i8
# | 172: %94 = OpFunctionParameter %28
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpExtInst %79 %1 s_min %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpExtInst %[[Char]] %[[#]] u_max %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:167:2: note: possible intended match here
# | %93 = OpExtInst %22 %1 u_max %91 %92
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umax.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpExtInst %22 %1 u_max %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpExtInst %22 %1 u_max %91 %92
# | check:34'6 ? possible intended match
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_umax_v4i8
# | 172: %94 = OpFunctionParameter %28
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpExtInst %79 %1 u_max %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpExtInst %[[Char]] %[[#]] u_min %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:167:2: note: possible intended match here
# | %93 = OpExtInst %22 %1 u_min %91 %92
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/umin.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpExtInst %22 %1 u_min %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpExtInst %22 %1 u_min %91 %92
# | check:34'6 ? possible intended match
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_umin_v4i8
# | 172: %94 = OpFunctionParameter %28
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpExtInst %79 %1 u_min %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_function_pointers /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll -o -
# 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/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll:34:10: error: CHECK: expected string not found in input
# | ; CHECK: %[[Vec3CharR1:.*]] = OpBitwiseXor %[[Char]] %[[Vec3CharItem0]] %[[Vec3CharItem1]]
# | ^
# | <stdin>:166:36: note: scanning from here
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Char" equal to "22"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem0" equal to "89"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: with "Vec3CharItem1" equal to "90"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:166:36: note: pattern attempts to capture variables: "Vec3CharR1"
# | %92 = OpCompositeExtract %22 %87 2
# | ^
# | <stdin>:186:2: note: possible intended match here
# | %104 = OpBitwiseXor %31 %101 %103
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SPIRV/llvm-intrinsics/llvm-vector-reduce/xor.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 161: %87 = OpFunctionParameter %26
# | 162: %3 = OpLabel
# | 163: %89 = OpCompositeExtract %22 %87 0
# | 164: %90 = OpCompositeExtract %22 %87 1
# | 165: %91 = OpBitwiseXor %22 %89 %90
# | 166: %92 = OpCompositeExtract %22 %87 2
# | check:34'0 { search range start (exclusive)
# | check:34'1 error: no match found in search range
# | check:34'2 with "Char" equal to "22"
# | check:34'3 with "Vec3CharItem0" equal to "89"
# | check:34'4 with "Vec3CharItem1" equal to "90"
# | check:34'5 pattern attempts to capture variables: "Vec3CharR1"
# | 167: %93 = OpBitwiseXor %22 %91 %92
# | 168: OpReturnValue %93
# | 169: OpFunctionEnd
# | 170: ; -- End function
# | 171: %95 = OpFunction %22 None %29 ; -- Begin function test_vector_reduce_xor_v4i8
# | .
# | .
# | .
# | 181: ; -- End function
# | 182: %102 = OpFunction %22 None %32 ; -- Begin function test_vector_reduce_xor_v8i8
# | 183: %101 = OpFunctionParameter %31
# | 184: %5 = OpLabel
# | 185: %103 = OpVectorShuffle %31 %101 %33 4 5 6 7 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 186: %104 = OpBitwiseXor %31 %101 %103
# | check:34'6 ? possible intended match
# | 187: %105 = OpVectorShuffle %31 %104 %33 2 3 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 188: %106 = OpBitwiseXor %31 %104 %105
# | 189: %107 = OpVectorShuffle %31 %106 %33 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 190: %108 = OpBitwiseXor %31 %106 %107
# | 191: %109 = OpCompositeExtract %22 %108 0
# | .
# | .
# | .
# | 381: %235 = OpVectorShuffle %79 %234 %81 1 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF
# | 382: %236 = OpBitwiseXor %79 %234 %235
# | 383: %237 = OpCompositeExtract %67 %236 0
# | 384: OpReturnValue %237
# | 385: OpFunctionEnd
# | 386: ; -- End function
# | check:34'7 } 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/208738
More information about the llvm-commits
mailing list