[llvm-branch-commits] [llvm] [AMDGPU] Form VOPD dot2 pairs with a literal in src1 (PR #230183)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 8 19:01:39 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 155284 tests passed
* 3533 tests skipped
* 3 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu6.00 -amdgpu-enable-delay-alu=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX6789,GFX6 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu6.00 -amdgpu-enable-delay-alu=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX6789,GFX6 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu9.00 -amdgpu-enable-delay-alu=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX6789,GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu9.00 -amdgpu-enable-delay-alu=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX6789,GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu12.00 -amdgpu-enable-delay-alu=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX12 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu12.00 -amdgpu-enable-delay-alu=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX12 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll:151:15: error: GFX12-NEXT: expected string not found in input
# | ; GFX12-NEXT: v_mul_f32_e64 v2, 0x2f800000, |v1|
# |               ^
# | <stdin>:266:30: note: scanning from here
# |  v_ashrrev_i32_e32 v0, 31, v0
# |                              ^
# | <stdin>:269:2: note: possible intended match here
# |  v_fma_f32 v1, v2, 0xcf800000, |v1|
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll:573:15: error: GFX12-NEXT: expected string not found in input
# | ; GFX12-NEXT: v_mul_f32_e64 v4, 0x2f800000, |v2|
# |               ^
# | <stdin>:740:24: note: scanning from here
# |  v_trunc_f32_e32 v3, v1
# |                        ^
# | <stdin>:746:2: note: possible intended match here
# |  v_fma_f32 v2, v4, 0xcf800000, |v2|
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll:1010:15: error: GFX12-NEXT: expected string not found in input
# | ; GFX12-NEXT: v_mul_f32_e64 v5, 0x2f800000, |v3|
# |               ^
# | <stdin>:1114:30: note: scanning from here
# |  v_ashrrev_i32_e32 v1, 31, v1
# |                              ^
# | <stdin>:1122:2: note: possible intended match here
# |  v_fma_f32 v3, v5, 0xcf800000, |v3|
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fptosi.bf16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            261:  .type fptosi_bf16_i64_v, at function 
# |            262: fptosi_bf16_i64_v: ; @fptosi_bf16_i64_v 
# |            263: ; %bb.0: 
# |            264:  v_lshlrev_b32_e32 v0, 16, v0 
# |            265:  v_trunc_f32_e32 v1, v0 
# |            266:  v_ashrrev_i32_e32 v0, 31, v0 
# | next:151'0                                  {   search range start (exclusive)
# | next:151'1                                      error: no match found in search range
# |            267:  v_mul_f32_e64 v2, |v1|, 0x2f800000 
# |            268:  v_floor_f32_e32 v2, v2 
# |            269:  v_fma_f32 v1, v2, 0xcf800000, |v1| 
# | next:151'2       ?                                    possible intended match
# |            270:  v_cvt_u32_f32_e32 v2, v2 
# |            271:  v_cvt_u32_f32_e32 v1, v1 
# |            272:  v_xor_b32_e32 v2, v2, v0 
# |            273:  v_xor_b32_e32 v1, v1, v0 
# |            274:  v_sub_co_u32 v1, vcc_lo, v1, v0 
# |              .
# |              .
# |              .
# |            329:  .long 0 
# |            330:  .text 
# |            331:  .globl fptosi_bf16_i64_s ; -- Begin function fptosi_bf16_i64_s 
# |            332:  .p2align 8 
# |            333:  .type fptosi_bf16_i64_s, at function 
# |            334: fptosi_bf16_i64_s: ; @fptosi_bf16_i64_s 
# | next:151'3                        }                       search range end (exclusive)
# |            335: ; %bb.0: 
# |            336:  s_lshl_b32 s0, s0, 16 
# |            337:  s_trunc_f32 s1, s0 
# |            338:  s_ashr_i32 s0, s0, 31 
# |            339:  s_bitset0_b32 s1, 31 
# |              .
# |              .
# |              .
# |            735:  v_mov_b16_e32 v1.l, v0.h 
# |            736:  v_lshlrev_b32_e32 v0, 16, v0 
# |            737:  v_lshlrev_b32_e32 v1, 16, v1 
# |            738:  v_trunc_f32_e32 v2, v0 
# |            739:  v_ashrrev_i32_e32 v0, 31, v0 
# |            740:  v_trunc_f32_e32 v3, v1 
# | next:573'0                            {   search range start (exclusive)
# | next:573'1                                error: no match found in search range
# |            741:  v_mul_f32_e64 v4, |v2|, 0x2f800000 
# |            742:  v_ashrrev_i32_e32 v1, 31, v1 
# |            743:  v_mul_f32_e64 v5, |v3|, 0x2f800000 
# |            744:  v_floor_f32_e32 v4, v4 
# |            745:  v_floor_f32_e32 v5, v5 
# |            746:  v_fma_f32 v2, v4, 0xcf800000, |v2| 
# | next:573'2       ?                                    possible intended match
# |            747:  v_cvt_u32_f32_e32 v4, v4 
# |            748:  v_fma_f32 v3, v5, 0xcf800000, |v3| 
# |            749:  v_cvt_u32_f32_e32 v2, v2 
# |            750:  v_cvt_u32_f32_e32 v5, v5 
# |            751:  v_xor_b32_e32 v4, v4, v0 
# |              .
# |              .
# |              .
# |            816:  .long 0 
# |            817:  .text 
# |            818:  .globl fptosi_v2bf16_v2i64_s ; -- Begin function fptosi_v2bf16_v2i64_s 
# |            819:  .p2align 8 
# |            820:  .type fptosi_v2bf16_v2i64_s, at function 
# |            821: fptosi_v2bf16_v2i64_s: ; @fptosi_v2bf16_v2i64_s 
# | next:573'3                            }                           search range end (exclusive)
# |            822: ; %bb.0: 
# |            823:  s_lshr_b32 s1, s0, 16 
# |            824:  s_lshl_b32 s0, s0, 16 
# |            825:  s_lshl_b32 s1, s1, 16 
# |            826:  s_trunc_f32 s2, s0 
# |              .
# |              .
# |              .
# |           1109:  v_lshlrev_b32_e32 v1, 16, v1 
# |           1110:  v_trunc_f32_e32 v3, v2 
# |           1111:  v_lshlrev_b32_e32 v0, 16, v0 
# |           1112:  v_trunc_f32_e32 v4, v1 
# |           1113:  v_ashrrev_i32_e32 v2, 31, v2 
# |           1114:  v_ashrrev_i32_e32 v1, 31, v1 
# | next:1010'0                                 {   search range start (exclusive)
# | next:1010'1                                     error: no match found in search range
# |           1115:  v_mul_f32_e64 v5, |v3|, 0x2f800000 
# |           1116:  v_trunc_f32_e32 v6, v0 
# |           1117:  v_mul_f32_e64 v7, |v4|, 0x2f800000 
# |           1118:  v_ashrrev_i32_e32 v0, 31, v0 
# |           1119:  v_floor_f32_e32 v5, v5 
# |           1120:  v_mul_f32_e64 v8, |v6|, 0x2f800000 
# |           1121:  v_floor_f32_e32 v7, v7 
# |           1122:  v_fma_f32 v3, v5, 0xcf800000, |v3| 
# | next:1010'2      ?                                    possible intended match
# |           1123:  v_floor_f32_e32 v8, v8 
# |           1124:  v_fma_f32 v4, v7, 0xcf800000, |v4| 
# |           1125:  v_cvt_u32_f32_e32 v5, v5 
# |           1126:  v_cvt_u32_f32_e32 v7, v7 
# |           1127:  v_cvt_u32_f32_e32 v3, v3 
# |              .
# |              .
# |              .
# |           1191:  .set amdgpu.max_num_agpr, 0 
# |           1192:  .set amdgpu.max_num_sgpr, 0 
# |           1193:  .set amdgpu.max_num_named_barrier, 0 
# |           1194:  .section .AMDGPU.csdata,"", at progbits 
# |           1195:  .section ".note.GNU-stack","", at progbits 
# |           1196:  .amd_amdgpu_isa "amdgpu12.00-unknown-unknown-unknown-gfx1200" 
# | next:1010'3                                                                    } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regmask-interference.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu9.42-amd-amdhsa -start-before=greedy,2 -stop-after=virtregrewriter,2 -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regmask-interference.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regmask-interference.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu9.42-amd-amdhsa -start-before=greedy,2 -stop-after=virtregrewriter,2 -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regmask-interference.mir
# .---command stderr------------
# | LLVM ERROR: "virtregrewriter" pass is not registered.
# `-----------------------------
# error: command failed with exit status: 1
# 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/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regmask-interference.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regmask-interference.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regunit-interference.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu9.42-amd-amdhsa -start-before=greedy,2 -stop-after=virtregrewriter,2 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regunit-interference.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regunit-interference.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgpu9.42-amd-amdhsa -start-before=greedy,2 -stop-after=virtregrewriter,2 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regunit-interference.mir
# .---command stderr------------
# | LLVM ERROR: "virtregrewriter" pass is not registered.
# `-----------------------------
# error: command failed with exit status: 1
# 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/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regunit-interference.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-unspill-regunit-interference.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/230183


More information about the llvm-branch-commits mailing list