[llvm] [SLP] Disable -slp-inst-count-check by default (PR #199536)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 25 08:21:19 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 135010 tests passed
* 3322 tests skipped
* 5 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.Transforms/SLPVectorizer/AArch64/matmul.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\SLPVectorizer\AArch64\matmul.ll -passes=slp-vectorizer -S -mtriple=aarch64-unknown-unknown -mcpu=cortex-a53 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\matmul.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=slp-vectorizer -S -mtriple=aarch64-unknown-unknown -mcpu=cortex-a53
# 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\SLPVectorizer\AArch64\matmul.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\matmul.ll:17:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: [[ARRAYIDX47_I:%.*]] = getelementptr inbounds [2 x double], ptr [[A]], i64 1, i64 0
# | ^
# | <stdin>:13:2: note: 'next' match was here
# | %arrayidx47.i = getelementptr inbounds [2 x double], ptr %A, i64 1, i64 0
# | ^
# | <stdin>:10:74: note: previous match ended here
# | %arrayidx7.i = getelementptr inbounds [4 x double], ptr %B, i64 1, i64 0
# | ^
# | <stdin>:11:1: note: non-matching line after previous match is here
# | %arrayidx25.i = getelementptr inbounds [4 x double], ptr %B, i64 0, i64 2
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\matmul.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 8: %arrayidx5.i = getelementptr inbounds [2 x double], ptr %A, i64 0, i64 1
# | 9: %temp2 = load double, ptr %arrayidx5.i, align 8
# | 10: %arrayidx7.i = getelementptr inbounds [4 x double], ptr %B, i64 1, i64 0
# | 11: %arrayidx25.i = getelementptr inbounds [4 x double], ptr %B, i64 0, i64 2
# | 12: %arrayidx30.i = getelementptr inbounds [4 x double], ptr %B, i64 1, i64 2
# | 13: %arrayidx47.i = getelementptr inbounds [2 x double], ptr %A, i64 1, i64 0
# | next:17 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 14: %temp10 = load double, ptr %arrayidx47.i, align 8
# | 15: %arrayidx52.i = getelementptr inbounds [2 x double], ptr %A, i64 1, i64 1
# | 16: %temp11 = load double, ptr %arrayidx52.i, align 8
# | 17: %1 = load <2 x double>, ptr %B, align 8
# | 18: %2 = insertelement <2 x double> poison, double %temp, i32 0
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/SLPVectorizer/AArch64/slp-fma-loss.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=slp-vectorizer -mtriple=arm64-apple-ios -S C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=slp-vectorizer -mtriple=arm64-apple-ios -S 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.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\SLPVectorizer\AArch64\slp-fma-loss.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll:10:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[B_1:%.*]] = load float, ptr [[GEP_B_1]], align 4
# | ^
# | <stdin>:8:36: note: scanning from here
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:8:36: note: with "GEP_B_1" equal to "%gep.B.1"
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:9:3: note: possible intended match here
# | %B.0 = load float, ptr %B, align 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll:49:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[B_1:%.*]] = load float, ptr [[GEP_B_1]], align 4
# | ^
# | <stdin>:30:36: note: scanning from here
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:30:36: note: with "GEP_B_1" equal to "%gep.B.1"
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:31:3: note: possible intended match here
# | %B.0 = load float, ptr %B, align 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll:89:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[B_1:%.*]] = load float, ptr [[GEP_B_1]], align 4
# | ^
# | <stdin>:52:36: note: scanning from here
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:52:36: note: with "GEP_B_1" equal to "%gep.B.1"
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:53:3: note: possible intended match here
# | %B.0 = load float, ptr %B, align 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll:129:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[B_1:%.*]] = load float, ptr [[GEP_B_1]], align 4
# | ^
# | <stdin>:74:36: note: scanning from here
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:74:36: note: with "GEP_B_1" equal to "%gep.B.1"
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:75:3: note: possible intended match here
# | %B.0 = load float, ptr %B, align 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll:169:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[B_1:%.*]] = load float, ptr [[GEP_B_1]], align 4
# | ^
# | <stdin>:96:36: note: scanning from here
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:96:36: note: with "GEP_B_1" equal to "%gep.B.1"
# | %A.0 = load float, ptr %A, align 4
# | ^
# | <stdin>:97:3: note: possible intended match here
# | %B.0 = load float, ptr %B, align 4
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll:261:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[GEP_A_1:%.*]] = getelementptr inbounds float, ptr [[A:%.*]], i64 1
# | ^
# | <stdin>:144:7: note: scanning from here
# | entry:
# | ^
# | <stdin>:146:2: note: possible intended match here
# | %1 = load <2 x float>, ptr %A, align 4
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\slp-fma-loss.ll'
# | 2: source_filename = "C:\\_work\\llvm-project\\llvm-project\\llvm\\test\\Transforms\\SLPVectorizer\\AArch64\\slp-fma-loss.ll"
# | 3: target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-n32:64-S128-Fn32"
# | 4: target triple = "arm64-apple-ios"
# | 5:
# | 6: define void @slp_not_profitable_with_fast_fmf(ptr %A, ptr %B) {
# | 7: %gep.B.1 = getelementptr inbounds float, ptr %B, i64 1
# | 8: %A.0 = load float, ptr %A, align 4
# | next:10'0 X error: no match found
# | next:10'1 with "GEP_B_1" equal to "%gep.B.1"
# | 9: %B.0 = load float, ptr %B, align 4
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:10'2 ? possible intended match
# | 10: %gep.B.2 = getelementptr inbounds float, ptr %B, i64 2
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 11: %B.2 = load float, ptr %gep.B.2, align 4
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 12: %1 = load <2 x float>, ptr %gep.B.1, align 4
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: %2 = insertelement <2 x float> poison, float %B.0, i32 0
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: %3 = shufflevector <2 x float> %2, <2 x float> poison, <2 x i32> zeroinitializer
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 25: ret void
# | next:10'0 ~~~~~~~~~~
# | 26: }
# | next:10'0 ~~
# | 27:
# | next:10'0 ~
# | 28: define void @slp_not_profitable_with_reassoc_fmf(ptr %A, ptr %B) {
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: %gep.B.1 = getelementptr inbounds float, ptr %B, i64 1
# | 30: %A.0 = load float, ptr %A, align 4
# | next:49'0 X error: no match found
# | next:49'1 with "GEP_B_1" equal to "%gep.B.1"
# | 31: %B.0 = load float, ptr %B, align 4
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:49'2 ? possible intended match
# | 32: %gep.B.2 = getelementptr inbounds float, ptr %B, i64 2
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 33: %B.2 = load float, ptr %gep.B.2, align 4
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 34: %1 = load <2 x float>, ptr %gep.B.1, align 4
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 35: %2 = insertelement <2 x float> poison, float %B.0, i32 0
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 36: %3 = shufflevector <2 x float> %2, <2 x float> poison, <2 x i32> zeroinitializer
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 47: ret void
# | next:49'0 ~~~~~~~~~~
# | 48: }
# | next:49'0 ~~
# | 49:
# | next:49'0 ~
# | 50: define void @slp_profitable_missing_fmf_on_fadd_fsub(ptr %A, ptr %B) {
# | next:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 51: %gep.B.1 = getelementptr inbounds float, ptr %B, i64 1
# | 52: %A.0 = load float, ptr %A, align 4
# | next:89'0 X error: no match found
# | next:89'1 with "GEP_B_1" equal to "%gep.B.1"
# | 53: %B.0 = load float, ptr %B, align 4
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:89'2 ? possible intended match
# | 54: %gep.B.2 = getelementptr inbounds float, ptr %B, i64 2
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 55: %B.2 = load float, ptr %gep.B.2, align 4
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 56: %1 = load <2 x float>, ptr %gep.B.1, align 4
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 57: %2 = insertelement <2 x float> poison, float %B.0, i32 0
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 58: %3 = shufflevector <2 x float> %2, <2 x float> poison, <2 x i32> zeroinitializer
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 69: ret void
# | next:89'0 ~~~~~~~~~~
# | 70: }
# | next:89'0 ~~
# | 71:
# | next:89'0 ~
# | 72: define void @slp_profitable_missing_fmf_on_fmul_fadd_fsub(ptr %A, ptr %B) {
# | next:89'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 73: %gep.B.1 = getelementptr inbounds float, ptr %B, i64 1
# | 74: %A.0 = load float, ptr %A, align 4
# | next:129'0 X error: no match found
# | next:129'1 with "GEP_B_1" equal to "%gep.B.1"
# | 75: %B.0 = load float, ptr %B, align 4
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:129'2 ? possible intended match
# | 76: %gep.B.2 = getelementptr inbounds float, ptr %B, i64 2
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 77: %B.2 = load float, ptr %gep.B.2, align 4
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 78: %1 = load <2 x float>, ptr %gep.B.1, align 4
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 79: %2 = insertelement <2 x float> poison, float %B.0, i32 0
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 80: %3 = shufflevector <2 x float> %2, <2 x float> poison, <2 x i32> zeroinitializer
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 91: ret void
# | next:129'0 ~~~~~~~~~~
# | 92: }
# | next:129'0 ~~
# | 93:
# | next:129'0 ~
# | 94: define void @slp_profitable_missing_fmf_nnans_only(ptr %A, ptr %B) {
# | next:129'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: %gep.B.1 = getelementptr inbounds float, ptr %B, i64 1
# | 96: %A.0 = load float, ptr %A, align 4
# | next:169'0 X error: no match found
# | next:169'1 with "GEP_B_1" equal to "%gep.B.1"
# | 97: %B.0 = load float, ptr %B, align 4
# | next:169'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:169'2 ? possible intended match
# | 98: %gep.B.2 = getelementptr inbounds float, ptr %B, i64 2
# | next:169'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 99: %B.2 = load float, ptr %gep.B.2, align 4
# | next:169'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 100: %1 = load <2 x float>, ptr %gep.B.1, align 4
# | next:169'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: %2 = insertelement <2 x float> poison, float %B.0, i32 0
# | next:169'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: %3 = shufflevector <2 x float> %2, <2 x float> poison, <2 x i32> zeroinitializer
# | next:169'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 139: exit: ; preds = %loop
# | 140: ret float %8
# | 141: }
# | 142:
# | 143: define void @slp_profitable(ptr %A, ptr %B, float %0) {
# | 144: entry:
# | next:261'0 X error: no match found
# | 145: %sub.i1096 = fsub fast float 1.000000e+00, %0
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 146: %1 = load <2 x float>, ptr %A, align 4
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:261'1 ? possible intended match
# | 147: %2 = insertelement <2 x float> poison, float %0, i32 0
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 148: %3 = shufflevector <2 x float> %2, <2 x float> poison, <2 x i32> zeroinitializer
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 149: %4 = fmul fast <2 x float> %1, %3
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 150: %5 = shufflevector <2 x float> %4, <2 x float> poison, <2 x i32> <i32 1, i32 0>
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 151: %6 = insertelement <2 x float> poison, float %sub.i1096, i32 0
# | next:261'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/SLPVectorizer/AArch64/unprofitable-alternate-subtree.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S --passes=slp-vectorizer -mtriple=arm64-apple-macosx15.0.0 < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\unprofitable-alternate-subtree.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\unprofitable-alternate-subtree.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S --passes=slp-vectorizer -mtriple=arm64-apple-macosx15.0.0
# 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\SLPVectorizer\AArch64\unprofitable-alternate-subtree.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\unprofitable-alternate-subtree.ll:12:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[T1:%.*]] = fmul float [[T0]], 3.000000e+00
# | ^
# | <stdin>:12:35: note: scanning from here
# | %t0 = fmul float %a, 3.000000e+00
# | ^
# | <stdin>:12:35: note: with "T0" equal to "%t0"
# | %t0 = fmul float %a, 3.000000e+00
# | ^
# | <stdin>:13:2: note: possible intended match here
# | %t2 = fadd float %a, 2.000000e+00
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\unprofitable-alternate-subtree.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 7: entry:
# | 8: br i1 %c, label %exit, label %compute
# | 9:
# | 10: compute: ; preds = %entry
# | 11: %flag = load i8, ptr %ptr0, align 1
# | 12: %t0 = fmul float %a, 3.000000e+00
# | next:12'0 X error: no match found
# | next:12'1 with "T0" equal to "%t0"
# | 13: %t2 = fadd float %a, 2.000000e+00
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'2 ? possible intended match
# | 14: %w = load float, ptr %ptr0, align 4
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: %0 = insertelement <2 x float> poison, float %t2, i32 0
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: %1 = insertelement <2 x float> %0, float %t0, i32 1
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: %2 = insertelement <2 x float> <float poison, float 3.000000e+00>, float %b, i32 0
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: %3 = fmul <2 x float> %1, %2
# | next:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/SLPVectorizer/AArch64/vec3-base.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=slp-vectorizer -slp-vectorize-non-power-of-2 -mtriple=arm64-apple-ios -S C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-base.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,NON-POW2 C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-base.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=slp-vectorizer -slp-vectorize-non-power-of-2 -mtriple=arm64-apple-ios -S 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-base.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,NON-POW2 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-base.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-base.ll:372:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[TMP3:%.*]] = fptrunc double [[CONV:%.*]] to float
# | ^
# | <stdin>:102:7: note: scanning from here
# | entry:
# | ^
# | <stdin>:105:2: note: possible intended match here
# | %2 = fptrunc <2 x double> %1 to <2 x float>
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-base.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 97: store float %conv82, ptr %arrayidx80, align 4
# | 98: ret void
# | 99: }
# | 100:
# | 101: define void @fpext_gather(ptr %dst, double %conv) {
# | 102: entry:
# | next:372'0 X error: no match found
# | 103: %0 = insertelement <2 x double> poison, double %conv, i32 0
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 104: %1 = shufflevector <2 x double> %0, <2 x double> poison, <2 x i32> zeroinitializer
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 105: %2 = fptrunc <2 x double> %1 to <2 x float>
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:372'1 ? possible intended match
# | 106: %Lengths = getelementptr float, ptr %dst, i64 0
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 107: %3 = extractelement <2 x float> %2, i32 0
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 108: store float %3, ptr %Lengths, align 4
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 109: %arrayidx32 = getelementptr float, ptr %dst, i64 1
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 110: store <2 x float> %2, ptr %arrayidx32, align 4
# | next:372'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/SLPVectorizer/AArch64/vec3-reorder-reshuffle.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=slp-vectorizer -slp-vectorize-non-power-of-2 -mtriple=arm64-apple-ios -S C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,NON-POW2 C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=slp-vectorizer -slp-vectorize-non-power-of-2 -mtriple=arm64-apple-ios -S 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,NON-POW2 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=slp-vectorizer -slp-vectorize-non-power-of-2=false -mtriple=arm64-apple-ios -S C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,POW2-ONLY C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=slp-vectorizer -slp-vectorize-non-power-of-2=false -mtriple=arm64-apple-ios -S 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,POW2-ONLY 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll:421:19: error: POW2-ONLY-NEXT: expected string not found in input
# | ; POW2-ONLY-NEXT: [[TMP1:%.*]] = tail call float @llvm.fmuladd.f32(float [[TMP0]], float [[FNEG]], float 0.000000e+00)
# | ^
# | <stdin>:177:37: note: scanning from here
# | %fneg = fmul float %0, 0.000000e+00
# | ^
# | <stdin>:177:37: note: with "TMP0" equal to "%0"
# | %fneg = fmul float %0, 0.000000e+00
# | ^
# | <stdin>:177:37: note: with "FNEG" equal to "%fneg"
# | %fneg = fmul float %0, 0.000000e+00
# | ^
# | <stdin>:184:2: note: possible intended match here
# | %6 = tail call float @llvm.fmuladd.f32(float %fneg, float 0.000000e+00, float 0.000000e+00)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\AArch64\vec3-reorder-reshuffle.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 172: ret void
# | 173: }
# | 174:
# | 175: define void @reuse_shuffle_indices_cost_crash_2(ptr %bezt, float %0) {
# | 176: entry:
# | 177: %fneg = fmul float %0, 0.000000e+00
# | next:421'0 X error: no match found
# | next:421'1 with "TMP0" equal to "%0"
# | next:421'2 with "FNEG" equal to "%fneg"
# | 178: %1 = insertelement <2 x float> poison, float %0, i32 0
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 179: %2 = shufflevector <2 x float> %1, <2 x float> poison, <2 x i32> zeroinitializer
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 180: %3 = insertelement <2 x float> poison, float %fneg, i32 0
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 181: %4 = shufflevector <2 x float> %3, <2 x float> poison, <2 x i32> zeroinitializer
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 182: %5 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %2, <2 x float> %4, <2 x float> zeroinitializer)
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 183: store <2 x float> %5, ptr %bezt, align 4
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 184: %6 = tail call float @llvm.fmuladd.f32(float %fneg, float 0.000000e+00, float 0.000000e+00)
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:421'3 ? possible intended match
# | 185: %arrayidx8.i831 = getelementptr float, ptr %bezt, i64 2
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 186: store float %6, ptr %arrayidx8.i831, align 4
# | next:421'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 187: ret void
# | next:421'0 ~~~~~~~~~~
# | 188: }
# | next:421'0 ~~
# | 189:
# | next:421'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/199536
More information about the llvm-commits
mailing list