[llvm-branch-commits] [llvm] AMDGPU: Fix src2_modifiers for v_dot2_f32_f16/bf16 on gfx11+ (PR #179224)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 20 09:05:32 PST 2026


github-actions[bot] wrote:

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

* 131119 tests passed
* 2949 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx906 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll --check-prefixes=GCN,GFX906
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx906
# 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\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll' --check-prefixes=GCN,GFX906
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx950 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll --check-prefixes=GCN,GFX950
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx950
# 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\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll' --check-prefixes=GCN,GFX950
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1012 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll --check-prefixes=GCN,GFX10
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1012
# 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\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll' --check-prefixes=GCN,GFX10
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 -amdgpu-enable-vopd=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll --check-prefixes=GCN,GFX11PLUS,GFX11
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -amdgpu-enable-vopd=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\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll' --check-prefixes=GCN,GFX11PLUS,GFX11
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1170 -amdgpu-enable-vopd=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll --check-prefixes=GCN,GFX11PLUS,GFX1170
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1170 -amdgpu-enable-vopd=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\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll' --check-prefixes=GCN,GFX11PLUS,GFX1170
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll:316:12: error: GFX1170: expected string not found in input
# | ; GFX1170: v_dot2_f32_f16 v0, v0, v1, v2 neg_lo:[0,0,1] neg_hi:[0,0,1]
# |            ^
# | <stdin>:305:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:307:2: note: possible intended match here
# |  v_dot2_f32_f16 v0, v0, v1, v2 neg_lo:[0,0,1]
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll:352:12: error: GFX1170: expected string not found in input
# | ; GFX1170: v_and_b32_e32 v2, 0x7fffffff, v2
# |            ^
# | <stdin>:345:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:347:2: note: possible intended match here
# |  v_dot2_f32_f16 v0, v0, v1, v2 neg_hi:[0,0,1]
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll:1258:12: error: GFX1170: expected string not found in input
# | ; GFX1170: v_dot2_f32_f16 v0, v0, v1, v2 neg_lo:[0,0,1] neg_hi:[0,0,1]
# |            ^
# | <stdin>:1466:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:1468:2: note: possible intended match here
# |  v_dot2_f32_f16 v0, v0, v1, v2 neg_lo:[0,0,1]
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll:1305:12: error: GFX1170: expected string not found in input
# | ; GFX1170: v_and_b32_e32 v2, 0x7fffffff, v2
# |            ^
# | <stdin>:1509:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:1514:2: note: possible intended match here
# |  v_add_f32_e32 v0, v0, v1
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llvm.amdgcn.fdot2.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |             300:  .text 
# |             301:  .globl v_fdot2_neg_c ; -- Begin function v_fdot2_neg_c 
# |             302:  .p2align 2 
# |             303:  .type v_fdot2_neg_c, at function 
# |             304: v_fdot2_neg_c: ; @v_fdot2_neg_c 
# |             305: ; %bb.0: 
# | check:316'0              X error: no match found
# |             306:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             307:  v_dot2_f32_f16 v0, v0, v1, v2 neg_lo:[0,0,1] 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:316'1       ?                                             possible intended match
# |             308:  s_setpc_b64 s[30:31] 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~
# |             309: .Lfunc_end7: 
# | check:316'0      ~~~~~~~~~~~~~
# |             310:  .size v_fdot2_neg_c, .Lfunc_end7-v_fdot2_neg_c 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             311:  ; -- End function 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~
# |             312:  .set v_fdot2_neg_c.num_vgpr, 3 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |             340:  .text 
# | check:316'0      ~~~~~~~
# |             341:  .globl v_fdot2_abs_c ; -- Begin function v_fdot2_abs_c 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             342:  .p2align 2 
# | check:316'0      ~~~~~~~~~~~~
# |             343:  .type v_fdot2_abs_c, at function 
# | check:316'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             344: v_fdot2_abs_c: ; @v_fdot2_abs_c 
# | check:316'0      ~~~~~~~~~~~~~~
# |             345: ; %bb.0: 
# | check:352'0              X error: no match found
# |             346:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | check:352'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             347:  v_dot2_f32_f16 v0, v0, v1, v2 neg_hi:[0,0,1] 
# | check:352'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:352'1       ?                                             possible intended match
# |             348:  s_setpc_b64 s[30:31] 
# | check:352'0      ~~~~~~~~~~~~~~~~~~~~~~
# |             349: .Lfunc_end8: 
# | check:352'0      ~~~~~~~~~~~~~
# |             350:  .size v_fdot2_abs_c, .Lfunc_end8-v_fdot2_abs_c 
# | check:352'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             351:  ; -- End function 
# | check:352'0      ~~~~~~~~~~~~~~~~~~~
# |             352:  .set v_fdot2_abs_c.num_vgpr, 3 
# | check:352'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            1461:  .text 
# |            1462:  .globl v_fdot2_neg_c_dual ; -- Begin function v_fdot2_neg_c_dual 
# |            1463:  .p2align 2 
# |            1464:  .type v_fdot2_neg_c_dual, at function 
# |            1465: v_fdot2_neg_c_dual: ; @v_fdot2_neg_c_dual 
# |            1466: ; %bb.0: 
# | check:1258'0             X error: no match found
# |            1467:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1468:  v_dot2_f32_f16 v0, v0, v1, v2 neg_lo:[0,0,1] 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:1258'1      ?                                             possible intended match
# |            1469:  v_dot2_f32_f16 v1, v3, v4, v5 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1470:  s_delay_alu instid0(VALU_DEP_1) 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1471:  v_add_f32_e32 v0, v0, v1 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1472:  s_setpc_b64 s[30:31] 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            1473: .Lfunc_end35: 
# | check:1258'0     ~~~~~~~~~~~~~~
# |               .
# |               .
# |               .
# |            1504:  .text 
# | check:1258'0     ~~~~~~~
# |            1505:  .globl v_fdot2_abs_c_dual ; -- Begin function v_fdot2_abs_c_dual 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1506:  .p2align 2 
# | check:1258'0     ~~~~~~~~~~~~
# |            1507:  .type v_fdot2_abs_c_dual, at function 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1508: v_fdot2_abs_c_dual: ; @v_fdot2_abs_c_dual 
# | check:1258'0     ~~~~~~~~~~~~~~~~~~~
# |            1509: ; %bb.0: 
# | check:1305'0             X error: no match found
# |            1510:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1511:  v_dot2_f32_f16 v0, v0, v1, v2 neg_hi:[0,0,1] 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1512:  v_dot2_f32_f16 v1, v3, v4, v5 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1513:  s_delay_alu instid0(VALU_DEP_1) 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1514:  v_add_f32_e32 v0, v0, v1 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:1305'1      ?                         possible intended match
# |            1515:  s_setpc_b64 s[30:31] 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            1516: .Lfunc_end36: 
# | check:1305'0     ~~~~~~~~~~~~~~
# |            1517:  .size v_fdot2_abs_c_dual, .Lfunc_end36-v_fdot2_abs_c_dual 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1518:  ; -- End function 
# | check:1305'0     ~~~~~~~~~~~~~~~~~~~
# |            1519:  .set v_fdot2_abs_c_dual.num_vgpr, 6 
# | check:1305'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/179224


More information about the llvm-branch-commits mailing list