[llvm-branch-commits] [llvm] PPC: Fold 64-bit zero-extending word load feeding extsw subregister (PR #211107)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Oct 20 09:49:54 PDT 2026


github-actions[bot] wrote:

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

* 144486 tests passed
* 3597 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.Analysis/CostModel/X86/partial-reductions.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\Analysis\CostModel\X86\partial-reductions.ll -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64    | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll --check-prefixes=SSE2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' '-passes=print<cost-model>' -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64
# 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\Analysis\CostModel\X86\partial-reductions.ll' --check-prefixes=SSE2
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64-v2 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll --check-prefixes=SSE42
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' '-passes=print<cost-model>' -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64-v2
# 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\Analysis\CostModel\X86\partial-reductions.ll' --check-prefixes=SSE42
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64-v3 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll --check-prefixes=AVX2
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' '-passes=print<cost-model>' -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64-v3
# 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\Analysis\CostModel\X86\partial-reductions.ll' --check-prefixes=AVX2
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64-v4 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll --check-prefixes=AVX512
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' '-passes=print<cost-model>' -disable-output -cost-kind=all -mtriple=x86_64-- -mcpu=x86-64-v4
# 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\Analysis\CostModel\X86\partial-reductions.ll' --check-prefixes=AVX512
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll:105:16: error: AVX512-NEXT: expected string not found in input
# | ; AVX512-NEXT: Cost Model: Found costs of RThru:8 CodeSize:8 Lat:32 SizeLat:8 for: %v8bf16 = call <8 x bfloat> @llvm.vector.partial.reduce.fadd.v8bf16.v8bf16(<8 x bfloat> poison, <8 x bfloat> poison)
# |                ^
# | <stdin>:14:175: note: scanning from here
# | Cost Model: Found costs of RThru:2 CodeSize:1 Lat:3 SizeLat:1 for: %v8f16 = call <8 x half> @llvm.vector.partial.reduce.fadd.v8f16.v8f16(<8 x half> poison, <8 x half> poison)
# |                                                                                                                                                                               ^
# | <stdin>:15:1: note: possible intended match here
# | Cost Model: Found costs of RThru:22 CodeSize:1 Lat:3 SizeLat:1 for: %v8bf16 = call <8 x bfloat> @llvm.vector.partial.reduce.fadd.v8bf16.v8bf16(<8 x bfloat> poison, <8 x bfloat> poison)
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll:247:16: error: AVX512-NEXT: expected string not found in input
# | ; AVX512-NEXT: Cost Model: Found costs of RThru:16 CodeSize:16 Lat:64 SizeLat:16 for: %v8bf16 = call <8 x bfloat> @llvm.vector.partial.reduce.fadd.v8bf16.v16bf16(<8 x bfloat> poison, <16 x bfloat> poison)
# |                ^
# | <stdin>:40:177: note: scanning from here
# | Cost Model: Found costs of RThru:4 CodeSize:2 Lat:6 SizeLat:2 for: %v8f16 = call <8 x half> @llvm.vector.partial.reduce.fadd.v8f16.v16f16(<8 x half> poison, <16 x half> poison)
# |                                                                                                                                                                                 ^
# | <stdin>:41:1: note: possible intended match here
# | Cost Model: Found costs of RThru:44 CodeSize:2 Lat:6 SizeLat:2 for: %v8bf16 = call <8 x bfloat> @llvm.vector.partial.reduce.fadd.v8bf16.v16bf16(<8 x bfloat> poison, <16 x bfloat> poison)
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Analysis\CostModel\X86\partial-reductions.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             9: Cost Model: Found costs of 1 for: %v4i64 = call <4 x i64> @llvm.vector.partial.reduce.add.v4i64.v4i64(<4 x i64> poison, <4 x i64> poison) 
# |            10: Cost Model: Found costs of 1 for: %v64i8 = call <64 x i8> @llvm.vector.partial.reduce.add.v64i8.v64i8(<64 x i8> poison, <64 x i8> poison) 
# |            11: Cost Model: Found costs of 1 for: %v32i16 = call <32 x i16> @llvm.vector.partial.reduce.add.v32i16.v32i16(<32 x i16> poison, <32 x i16> poison) 
# |            12: Cost Model: Found costs of 1 for: %v16i32 = call <16 x i32> @llvm.vector.partial.reduce.add.v16i32.v16i32(<16 x i32> poison, <16 x i32> poison) 
# |            13: Cost Model: Found costs of 1 for: %v8i64 = call <8 x i64> @llvm.vector.partial.reduce.add.v8i64.v8i64(<8 x i64> poison, <8 x i64> poison) 
# |            14: Cost Model: Found costs of RThru:2 CodeSize:1 Lat:3 SizeLat:1 for: %v8f16 = call <8 x half> @llvm.vector.partial.reduce.fadd.v8f16.v8f16(<8 x half> poison, <8 x half> poison) 
# | next:105'0                                                                                                                                                                                  {   search range start (exclusive)
# | next:105'1                                                                                                                                                                                      error: no match found in search range
# |            15: Cost Model: Found costs of RThru:22 CodeSize:1 Lat:3 SizeLat:1 for: %v8bf16 = call <8 x bfloat> @llvm.vector.partial.reduce.fadd.v8bf16.v8bf16(<8 x bfloat> poison, <8 x bfloat> poison) 
# | next:105'2     ?                                                                                                                                                                                          possible intended match
# |            16: Cost Model: Found costs of RThru:1 CodeSize:1 Lat:4 SizeLat:1 for: %v4f32 = call <4 x float> @llvm.vector.partial.reduce.fadd.v4f32.v4f32(<4 x float> poison, <4 x float> poison) 
# |            17: Cost Model: Found costs of RThru:1 CodeSize:1 Lat:4 SizeLat:1 for: %v2f64 = call <2 x double> @llvm.vector.partial.reduce.fadd.v2f64.v2f64(<2 x double> poison, <2 x double> poison) 
# |            18: Cost Model: Found costs of RThru:2 CodeSize:1 Lat:3 SizeLat:1 for: %v16f16 = call <16 x half> @llvm.vector.partial.reduce.fadd.v16f16.v16f16(<16 x half> poison, <16 x half> poison) 
# |            19: Cost Model: Found costs of RThru:46 CodeSize:1 Lat:3 SizeLat:1 for: %v16bf16 = call <16 x bfloat> @llvm.vector.partial.reduce.fadd.v16bf16.v16bf16(<16 x bfloat> poison, <16 x bfloat> poison) 
# |            20: Cost Model: Found costs of RThru:1 CodeSize:1 Lat:4 SizeLat:1 for: %v8f32 = call <8 x float> @llvm.vector.partial.reduce.fadd.v8f32.v8f32(<8 x float> poison, <8 x float> poison) 
# |            21: Cost Model: Found costs of RThru:1 CodeSize:1 Lat:4 SizeLat:1 for: %v4f64 = call <4 x double> @llvm.vector.partial.reduce.fadd.v4f64.v4f64(<4 x double> poison, <4 x double> poison) 
# |            22: Cost Model: Found costs of RThru:2 CodeSize:1 Lat:3 SizeLat:1 for: %v32f16 = call <32 x half> @llvm.vector.partial.reduce.fadd.v32f16.v32f16(<32 x half> poison, <32 x half> poison) 
# |            23: Cost Model: Found costs of RThru:94 CodeSize:1 Lat:3 SizeLat:1 for: %v32bf16 = call <32 x bfloat> @llvm.vector.partial.reduce.fadd.v32bf16.v32bf16(<32 x bfloat> poison, <32 x bfloat> poison) 
# |            24: Cost Model: Found costs of RThru:1 CodeSize:1 Lat:4 SizeLat:1 for: %v16f32 = call <16 x float> @llvm.vector.partial.reduce.fadd.v16f32.v16f32(<16 x float> poison, <16 x float> poison) 
# |            25: Cost Model: Found costs of RThru:1 CodeSize:1 Lat:4 SizeLat:1 for: %v8f64 = call <8 x double> @llvm.vector.partial.reduce.fadd.v8f64.v8f64(<8 x double> poison, <8 x double> poison) 
# |            26: Cost Model: Found costs of RThru:0 CodeSize:1 Lat:1 SizeLat:1 for: ret void 
# |            27: Printing analysis 'Cost Model Analysis' for function 'doubleelements_partial_reduction': 
# | next:105'3                                                                                            }   search range end (exclusive)
# |            28: Cost Model: Found costs of 2 for: %v16i8 = call <16 x i8> @llvm.vector.partial.reduce.add.v16i8.v32i8(<16 x i8> poison, <32 x i8> poison) 
# |            29: Cost Model: Found costs of 2 for: %v8i16 = call <8 x i16> @llvm.vector.partial.reduce.add.v8i16.v16i16(<8 x i16> poison, <16 x i16> poison) 
# |            30: Cost Model: Found costs of 2 for: %v4i32 = call <4 x i32> @llvm.vector.partial.reduce.add.v4i32.v8i32(<4 x i32> poison, <8 x i32> poison) 
# |            31: Cost Model: Found costs of 2 for: %v2i64 = call <2 x i64> @llvm.vector.partial.reduce.add.v2i64.v4i64(<2 x i64> poison, <4 x i64> poison) 
# |            32: Cost Model: Found costs of 2 for: %v32i8 = call <32 x i8> @llvm.vector.partial.reduce.add.v32i8.v64i8(<32 x i8> poison, <64 x i8> poison) 
# |            33: Cost Model: Found costs of 2 for: %v16i16 = call <16 x i16> @llvm.vector.partial.reduce.add.v16i16.v32i16(<16 x i16> poison, <32 x i16> poison) 
# |            34: Cost Model: Found costs of 2 for: %v8i32 = call <8 x i32> @llvm.vector.partial.reduce.add.v8i32.v16i32(<8 x i32> poison, <16 x i32> poison) 
# |            35: Cost Model: Found costs of 2 for: %v4i64 = call <4 x i64> @llvm.vector.partial.reduce.add.v4i64.v8i64(<4 x i64> poison, <8 x i64> poison) 
# |            36: Cost Model: Found costs of 2 for: %v64i8 = call <64 x i8> @llvm.vector.partial.reduce.add.v64i8.v128i8(<64 x i8> poison, <128 x i8> poison) 
# |            37: Cost Model: Found costs of 2 for: %v32i16 = call <32 x i16> @llvm.vector.partial.reduce.add.v32i16.v64i16(<32 x i16> poison, <64 x i16> poison) 
# |            38: Cost Model: Found costs of 2 for: %v16i32 = call <16 x i32> @llvm.vector.partial.reduce.add.v16i32.v32i32(<16 x i32> poison, <32 x i32> poison) 
# |            39: Cost Model: Found costs of 2 for: %v8i64 = call <8 x i64> @llvm.vector.partial.reduce.add.v8i64.v16i64(<8 x i64> poison, <16 x i64> poison) 
# |            40: Cost Model: Found costs of RThru:4 CodeSize:2 Lat:6 SizeLat:2 for: %v8f16 = call <8 x half> @llvm.vector.partial.reduce.fadd.v8f16.v16f16(<8 x half> poison, <16 x half> poison) 
# | next:247'0                                                                                                                                                                                    {   search range start (exclusive)
# | next:247'1                                                                                                                                                                                        error: no match found in search range
# |            41: Cost Model: Found costs of RThru:44 CodeSize:2 Lat:6 SizeLat:2 for: %v8bf16 = call <8 x bfloat> @llvm.vector.partial.reduce.fadd.v8bf16.v16bf16(<8 x bfloat> poison, <16 x bfloat> poison) 
# | next:247'2     ?                                                                                                                                                                                            possible intended match
# |            42: Cost Model: Found costs of RThru:2 CodeSize:2 Lat:8 SizeLat:2 for: %v4f32 = call <4 x float> @llvm.vector.partial.reduce.fadd.v4f32.v8f32(<4 x float> poison, <8 x float> poison) 
# |            43: Cost Model: Found costs of RThru:2 CodeSize:2 Lat:8 SizeLat:2 for: %v2f64 = call <2 x double> @llvm.vector.partial.reduce.fadd.v2f64.v4f64(<2 x double> poison, <4 x double> poison) 
# |            44: Cost Model: Found costs of RThru:4 CodeSize:2 Lat:6 SizeLat:2 for: %v16f16 = call <16 x half> @llvm.vector.partial.reduce.fadd.v16f16.v32f16(<16 x half> poison, <32 x half> poison) 
# |            45: Cost Model: Found costs of RThru:92 CodeSize:2 Lat:6 SizeLat:2 for: %v16bf16 = call <16 x bfloat> @llvm.vector.partial.reduce.fadd.v16bf16.v32bf16(<16 x bfloat> poison, <32 x bfloat> poison) 
# |            46: Cost Model: Found costs of RThru:2 CodeSize:2 Lat:8 SizeLat
# | ...
# `---data was truncated (10240/11584) (change limit with -D output_limit=N)
# 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/211107


More information about the llvm-branch-commits mailing list