[llvm] [X86] Add test coverage for #176879 (PR #177393)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 09:34:44 PST 2026


github-actions[bot] wrote:

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

* 168726 tests passed
* 3007 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/mul.ll (Likely Already Failing)</summary>
This test is already failing at the base commit.

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx700 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx700
# 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,GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll:364:14: error: GFX7-NEXT: expected string not found in input
# | ; GFX7-NEXT: s_mul_i32 s0, s0, s2
# |              ^
# | <stdin>:425:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:428:2: note: possible intended match here
# |  s_mul_i32 s0, s0, s1
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll:439:14: error: GFX7-NEXT: is not on the line after the previous match
# | ; GFX7-NEXT: v_and_b32_e32 v0, 0xffff, v0
# |              ^
# | <stdin>:493:2: note: 'next' match was here
# |  v_and_b32_e32 v0, 0xffff, v0
# |  ^
# | <stdin>:490:41: note: previous match ended here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:491:1: note: non-matching line after previous match is here
# |  v_lshrrev_b32_e32 v2, 16, v0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           420:  .text 
# |           421:  .globl s_mul_v2i16 ; -- Begin function s_mul_v2i16 
# |           422:  .p2align 8 
# |           423:  .type s_mul_v2i16, at function 
# |           424: s_mul_v2i16: ; @s_mul_v2i16 
# |           425: ; %bb.0: 
# | next:364'0             X error: no match found
# |           426:  s_lshr_b32 s2, s0, 16 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           427:  s_lshr_b32 s3, s1, 16 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           428:  s_mul_i32 s0, s0, s1 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:364'1      ?                     possible intended match
# |           429:  s_mul_i32 s1, s2, s3 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           430:  s_add_i32 s1, s1, s1 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           431:  s_add_i32 s0, s0, s0 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           432:  s_and_b32 s1, s1, 0xffff 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           433:  s_and_b32 s0, s0, 0xffff 
# | next:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           488: v_mul_v2i16: ; @v_mul_v2i16 
# | next:364'0     ~~~~~~~~~~~~
# |           489: ; %bb.0: 
# |           490:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           491:  v_lshrrev_b32_e32 v2, 16, v0 
# |           492:  v_lshrrev_b32_e32 v3, 16, v1 
# |           493:  v_and_b32_e32 v0, 0xffff, v0 
# | next:439        !~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           494:  v_and_b32_e32 v1, 0xffff, v1 
# |           495:  v_mul_u32_u24_e32 v0, v0, v1 
# |           496:  v_mul_u32_u24_e32 v1, v2, v3 
# |           497:  v_and_b32_e32 v1, 0xffff, v1 
# |           498:  v_and_b32_e32 v0, 0xffff, v0 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/pclmulqdq.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll -mtriple=x86_64-- -mattr=+pclmul | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll --check-prefixes=SSE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mattr=+pclmul
# note: command had no output on stdout or stderr
# 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/X86/pclmulqdq.ll --check-prefixes=SSE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll:11:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: xorl %eax, %eax
# |             ^
# | <stdin>:10:2: note: 'next' match was here
# |  xorl %eax, %eax
# |  ^
# | <stdin>:8:9: note: previous match ended here
# | # %bb.0:
# |         ^
# | <stdin>:9:1: note: non-matching line after previous match is here
# |  pshufd $238, %xmm1, %xmm1 # xmm1 = xmm1[2,3,2,3]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll:56:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: xorl %eax, %eax
# |             ^
# | <stdin>:37:2: note: 'next' match was here
# |  xorl %eax, %eax
# |  ^
# | <stdin>:34:9: note: previous match ended here
# | # %bb.0:
# |         ^
# | <stdin>:35:1: note: non-matching line after previous match is here
# |  pshufd $238, %xmm0, %xmm0 # xmm0 = xmm0[2,3,2,3]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll:180:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: xorl %eax, %eax
# |             ^
# | <stdin>:101:2: note: 'next' match was here
# |  xorl %eax, %eax
# |  ^
# | <stdin>:98:9: note: previous match ended here
# | # %bb.0:
# |         ^
# | <stdin>:99:1: note: non-matching line after previous match is here
# |  pshufd $238, %xmm2, %xmm4 # xmm4 = xmm2[2,3,2,3]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll:259:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: xorl %eax, %eax
# |             ^
# | <stdin>:142:2: note: 'next' match was here
# |  xorl %eax, %eax
# |  ^
# | <stdin>:137:9: note: previous match ended here
# | # %bb.0:
# |         ^
# | <stdin>:138:1: note: non-matching line after previous match is here
# |  pshufd $238, %xmm4, %xmm9 # xmm9 = xmm4[2,3,2,3]
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll:403:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: xorl %eax, %eax
# |             ^
# | <stdin>:207:2: note: 'next' match was here
# |  xorl %eax, %eax
# |  ^
# | <stdin>:202:9: note: previous match ended here
# | # %bb.0:
# |         ^
# | <stdin>:203:1: note: non-matching line after previous match is here
# |  pshufd $238, %xmm0, %xmm0 # xmm0 = xmm0[2,3,2,3]
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/pclmulqdq.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |           5:  .type pclmul128_lo_hi, at function 
# |           6: pclmul128_lo_hi: # @pclmul128_lo_hi 
# |           7:  .cfi_startproc 
# |           8: # %bb.0: 
# |           9:  pshufd $238, %xmm1, %xmm1 # xmm1 = xmm1[2,3,2,3] 
# |          10:  xorl %eax, %eax 
# | next:11       !~~~~~~~~~~~~~~  error: match on wrong line
# |          11:  movq %rax, %xmm2 
# |          12:  movdqa %xmm1, %xmm3 
# |          13:  pclmulqdq $0, %xmm2, %xmm3 
# |          14:  movq %xmm3, %rax 
# |          15:  pclmulqdq $0, %xmm0, %xmm2 
# |           .
# |           .
# |           .
# |          32: pclmul128_hi_hi: # @pclmul128_hi_hi 
# |          33:  .cfi_startproc 
# |          34: # %bb.0: 
# |          35:  pshufd $238, %xmm0, %xmm0 # xmm0 = xmm0[2,3,2,3] 
# |          36:  pshufd $238, %xmm1, %xmm1 # xmm1 = xmm1[2,3,2,3] 
# |          37:  xorl %eax, %eax 
# | next:56       !~~~~~~~~~~~~~~  error: match on wrong line
# |          38:  movq %rax, %xmm2 
# |          39:  movdqa %xmm1, %xmm3 
# |          40:  pclmulqdq $0, %xmm2, %xmm3 
# |          41:  movq %xmm3, %rax 
# |          42:  pclmulqdq $0, %xmm0, %xmm2 
# |           .
# |           .
# |           .
# |          96: pclmul256_lo_hi: # @pclmul256_lo_hi 
# |          97:  .cfi_startproc 
# |          98: # %bb.0: 
# |          99:  pshufd $238, %xmm2, %xmm4 # xmm4 = xmm2[2,3,2,3] 
# |         100:  pshufd $238, %xmm3, %xmm2 # xmm2 = xmm3[2,3,2,3] 
# |         101:  xorl %eax, %eax 
# | next:180      !~~~~~~~~~~~~~~  error: match on wrong line
# |         102:  movq %rax, %xmm3 
# |         103:  movdqa %xmm0, %xmm5 
# |         104:  pclmulqdq $0, %xmm4, %xmm0 
# |         105:  pclmulqdq $0, %xmm3, %xmm4 
# |         106:  movq %xmm4, %rax 
# |           .
# |           .
# |           .
# |         137: # %bb.0: 
# |         138:  pshufd $238, %xmm4, %xmm9 # xmm9 = xmm4[2,3,2,3] 
# |         139:  pshufd $238, %xmm5, %xmm8 # xmm8 = xmm5[2,3,2,3] 
# |         140:  pshufd $238, %xmm6, %xmm6 # xmm6 = xmm6[2,3,2,3] 
# |         141:  pshufd $238, %xmm7, %xmm4 # xmm4 = xmm7[2,3,2,3] 
# |         142:  xorl %eax, %eax 
# | next:259      !~~~~~~~~~~~~~~  error: match on wrong line
# |         143:  movq %rax, %xmm5 
# |         144:  movdqa %xmm0, %xmm7 
# |         145:  pclmulqdq $0, %xmm9, %xmm0 
# |         146:  pclmulqdq $0, %xmm5, %xmm9 
# |         147:  movq %xmm9, %rax 
# |           .
# |           .
# |           .
# |         202: # %bb.0: 
# |         203:  pshufd $238, %xmm0, %xmm0 # xmm0 = xmm0[2,3,2,3] 
# |         204:  pshufd $238, %xmm1, %xmm1 # xmm1 = xmm1[2,3,2,3] 
# |         205:  pshufd $238, %xmm2, %xmm2 # xmm2 = xmm2[2,3,2,3] 
# |         206:  pshufd $238, %xmm3, %xmm3 # xmm3 = xmm3[2,3,2,3] 
# |         207:  xorl %eax, %eax 
# | next:403      !~~~~~~~~~~~~~~  error: match on wrong line
# |         208:  movq %rax, %xmm8 
# |         209:  movdqa %xmm0, %xmm9 
# |         210:  pclmulqdq $0, %xmm4, %xmm0 
# |         211:  pclmulqdq $0, %xmm8, %xmm4 
# |         212:  movq %xmm4, %rax 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/177393


More information about the llvm-commits mailing list