[llvm] [opt] Enable -mcpu=help without an input file (PR #187876)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 21 11:39:36 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 132555 tests passed
* 3024 tests skipped
* 8 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.Transforms/InstSimplify/const-fold-nvvm-add.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\InstSimplify\const-fold-nvvm-add.ll -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-add.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -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\InstSimplify\const-fold-nvvm-add.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-add.ll:13:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define double @test_1_25_minus_2_rm_d() {
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:4:1: note: possible intended match here
# | define double @test_1_25_minus_2_rm_d() #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-add.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# | label:13'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: source_filename = "<stdin>" 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  
# | label:13'0     ~
# |             4: define double @test_1_25_minus_2_rm_d() #0 { 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:13'1     ?                                             possible intended match
# |             5:  ret double -7.500000e-01 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: } 
# | label:13'0     ~~
# |             7:  
# | label:13'0     ~
# |             8: define double @test_1_25_minus_2_rn_d() #0 { 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  ret double -7.500000e-01 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/const-fold-nvvm-div.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\InstSimplify\const-fold-nvvm-div.ll -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-div.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -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\InstSimplify\const-fold-nvvm-div.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-div.ll:13:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define double @test_1_25_div_2_rm_d() {
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:4:1: note: possible intended match here
# | define double @test_1_25_div_2_rm_d() #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-div.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# | label:13'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: source_filename = "<stdin>" 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  
# | label:13'0     ~
# |             4: define double @test_1_25_div_2_rm_d() #0 { 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:13'1     ?                                           possible intended match
# |             5:  ret double 6.250000e-01 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: } 
# | label:13'0     ~~
# |             7:  
# | label:13'0     ~
# |             8: define double @test_1_25_div_2_rn_d() #0 { 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  ret double 6.250000e-01 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/const-fold-nvvm-fma.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\InstSimplify\const-fold-nvvm-fma.ll -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-fma.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -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\InstSimplify\const-fold-nvvm-fma.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-fma.ll:12:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define double @test_fma_2_3_4_rm_d() {
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:4:1: note: possible intended match here
# | define double @test_fma_2_3_4_rm_d() #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-fma.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# | label:12'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: source_filename = "<stdin>" 
# | label:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  
# | label:12'0     ~
# |             4: define double @test_fma_2_3_4_rm_d() #0 { 
# | label:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:12'1     ?                                          possible intended match
# |             5:  ret double 1.000000e+01 
# | label:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: } 
# | label:12'0     ~~
# |             7:  
# | label:12'0     ~
# |             8: define double @test_fma_2_3_4_rn_d() #0 { 
# | label:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  ret double 1.000000e+01 
# | label:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/const-fold-nvvm-fmin-fmax.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\InstSimplify\const-fold-nvvm-fmin-fmax.ll -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-fmin-fmax.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -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\InstSimplify\const-fold-nvvm-fmin-fmax.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-fmin-fmax.ll:11:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define double @test_fmax_1_25_neg_2_d() {
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:4:1: note: possible intended match here
# | define double @test_fmax_1_25_neg_2_d() #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-fmin-fmax.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# | label:11'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: source_filename = "<stdin>" 
# | label:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  
# | label:11'0     ~
# |             4: define double @test_fmax_1_25_neg_2_d() #0 { 
# | label:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:11'1     ?                                             possible intended match
# |             5:  ret double 1.250000e+00 
# | label:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: } 
# | label:11'0     ~~
# |             7:  
# | label:11'0     ~
# |             8: define float @test_fmax_1_25_neg_2_f() #0 { 
# | label:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  ret float 1.250000e+00 
# | label:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/const-fold-nvvm-mul.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\InstSimplify\const-fold-nvvm-mul.ll -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-mul.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -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\InstSimplify\const-fold-nvvm-mul.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-mul.ll:13:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: define double @test_1_25_times_2_rm_d() {
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:4:1: note: possible intended match here
# | define double @test_1_25_times_2_rm_d() #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\const-fold-nvvm-mul.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# | label:13'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: source_filename = "<stdin>" 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  
# | label:13'0     ~
# |             4: define double @test_1_25_times_2_rm_d() #0 { 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:13'1     ?                                             possible intended match
# |             5:  ret double 2.500000e+00 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: } 
# | label:13'0     ~~
# |             7:  
# | label:13'0     ~
# |             8: define double @test_1_25_times_2_rn_d() #0 { 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  ret double 2.500000e+00 
# | label:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/disable_folding.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\InstSimplify\disable_folding.ll -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\disable_folding.ll --check-prefixes CHECK,FOLDING_ENABLED
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -march=nvptx64 --mcpu=sm_86 --mattr=+ptx72 -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\InstSimplify\disable_folding.ll' --check-prefixes CHECK,FOLDING_ENABLED
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\disable_folding.ll:9:26: error: FOLDING_ENABLED-LABEL: expected string not found in input
# | ; FOLDING_ENABLED-LABEL: define float @test_fmax_ftz_nan_xorsign_abs_f() {
# |                          ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:4:1: note: possible intended match here
# | define float @test_fmax_ftz_nan_xorsign_abs_f() #0 {
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\disable_folding.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: ; ModuleID = '<stdin>' 
# | label:9'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: source_filename = "<stdin>" 
# | label:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3:  
# | label:9'0     ~
# |            4: define float @test_fmax_ftz_nan_xorsign_abs_f() #0 { 
# | label:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:9'1     ?                                                     possible intended match
# |            5:  ret float -2.000000e+00 
# | label:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6: } 
# | label:9'0     ~~
# |            7:  
# | label:9'0     ~
# |            8: define float @test_llvm_sin() #0 { 
# | label:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9:  ret float 0x3FDEAEE880000000 
# | label:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/LoopVectorize/AArch64/sve2-histcnt-no-scalar-interleave.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\LoopVectorize\AArch64\sve2-histcnt-no-scalar-interleave.ll -mattr=+sve2 -passes=loop-vectorize,instcombine -enable-histogram-loop-vectorization -sve-gather-overhead=2 -sve-scatter-overhead=2 -force-vector-interleave=2 -force-vector-width=1 -debug-only=loop-vectorize -S 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\AArch64\sve2-histcnt-no-scalar-interleave.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -mattr=+sve2 -passes=loop-vectorize,instcombine -enable-histogram-loop-vectorization -sve-gather-overhead=2 -sve-scatter-overhead=2 -force-vector-interleave=2 -force-vector-width=1 -debug-only=loop-vectorize -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\LoopVectorize\AArch64\sve2-histcnt-no-scalar-interleave.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\AArch64\sve2-histcnt-no-scalar-interleave.ll:12:15: error: CHECK-SAME: expected string not found in input
# | ; CHECK-SAME: ptr noalias [[BUCKETS:%.*]], ptr readonly [[INDICES:%.*]], i64 [[N:%.*]]) {
# |               ^
# | <stdin>:111:56: note: scanning from here
# | define void @simple_histogram_forced_scalar_interleave(ptr noalias %buckets, ptr readonly %indices, i64 %N) #0 {
# |                                                        ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\AArch64\sve2-histcnt-no-scalar-interleave.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |        106: LV: Vectorization is possible but not beneficial. 
# |        107: LV: Not interleaving without vectorization due to histogram operations. 
# |        108: ; ModuleID = '<stdin>' 
# |        109: source_filename = "<stdin>" 
# |        110:  
# |        111: define void @simple_histogram_forced_scalar_interleave(ptr noalias %buckets, ptr readonly %indices, i64 %N) #0 { 
# | same:12                                                            X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |        112: entry: 
# | same:12     ~~~~~~~
# |        113:  br label %for.body 
# | same:12     ~~~~~~~~~~~~~~~~~~~~
# |        114:  
# | same:12     ~
# |        115: for.body: ; preds = %for.body, %entry 
# | same:12     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |        116:  %iv = phi i64 [ 0, %entry ], [ %iv.next, %for.body ] 
# | same:12     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.Transforms/SLPVectorizer/X86/multi-use-bicasted-reduction.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 -S -mattr=+sse4.2 < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\X86\multi-use-bicasted-reduction.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\X86\multi-use-bicasted-reduction.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=slp-vectorizer -S -mattr=+sse4.2
# 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\X86\multi-use-bicasted-reduction.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\X86\multi-use-bicasted-reduction.ll:6:15: error: CHECK-SAME: expected string not found in input
# | ; CHECK-SAME: i32 [[ARG:%.*]], i32 [[ARG1:%.*]], i1 [[ARG4:%.*]], i1 [[ARG5:%.*]]) {
# |               ^
# | <stdin>:4:18: note: scanning from here
# | define i32 @test(i32 %arg, i32 %arg1, i1 %arg4, i1 %arg5) #0 {
# |                  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\X86\multi-use-bicasted-reduction.ll:77:15: error: CHECK-SAME: expected string not found in input
# | ; CHECK-SAME: i32 [[ARG:%.*]], i32 [[ARG1:%.*]], i1 [[ARG4:%.*]], i1 [[ARG5:%.*]]) {
# |               ^
# | <stdin>:41:33: note: scanning from here
# | define i32 @test_multi_cond_use(i32 %arg, i32 %arg1, i1 %arg4, i1 %arg5) #0 {
# |                                 ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\SLPVectorizer\X86\multi-use-bicasted-reduction.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: ; ModuleID = '<stdin>' 
# |          2: source_filename = "<stdin>" 
# |          3:  
# |          4: define i32 @test(i32 %arg, i32 %arg1, i1 %arg4, i1 %arg5) #0 { 
# | same:6                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |          5: bb: 
# | same:6      ~~~~
# |          6:  %0 = insertelement <4 x i32> poison, i32 %arg, i32 0 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          7:  %1 = insertelement <4 x i32> %0, i32 %arg1, i32 1 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          8:  %2 = shufflevector <4 x i32> %1, <4 x i32> poison, <4 x i32> <i32 0, i32 1, i32 1, i32 0> 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          9:  %3 = sdiv <4 x i32> %2, splat (i32 64) 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          .
# |          .
# |          .
# |         36:  %12 = extractelement <4 x i32> %7, i32 3 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         37:  store volatile i32 %12, ptr null, align 4294967296 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         38:  br label %common.ret 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~
# |         39: } 
# | same:6      ~~
# |         40:  
# | same:6      ~
# |         41: define i32 @test_multi_cond_use(i32 %arg, i32 %arg1, i1 %arg4, i1 %arg5) #0 { 
# | same:6      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | same:77                                     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |         42: bb: 
# | same:77     ~~~~
# |         43:  %0 = insertelement <4 x i32> poison, i32 %arg, i32 0 
# | same:77     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         44:  %1 = insertelement <4 x i32> %0, i32 %arg1, i32 1 
# | same:77     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         45:  %2 = shufflevector <4 x i32> %1, <4 x i32> poison, <4 x i32> <i32 0, i32 1, i32 1, i32 0> 
# | same:77     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         46:  %3 = sdiv <4 x i32> %2, splat (i32 64) 
# | same:77     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# 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/187876


More information about the llvm-commits mailing list