[llvm] [X86] Add 256-bit and 512-bit vector CLMUL test coverage (PR #176718)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 19 02:28:00 PST 2026


github-actions[bot] wrote:

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

* 168209 tests passed
* 2996 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/X86/clmul-vector-256.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/clmul-vector-256.ll -mtriple=x86_64-- -mattr=+avx,+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/clmul-vector-256.ll --check-prefixes=AVX1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mattr=+avx,+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/clmul-vector-256.ll --check-prefixes=AVX1
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/clmul-vector-256.ll:4146:14: error: AVX1-NEXT: expected string not found in input
# | ; AVX1-NEXT: vextractf128 $1, %ymm0, %xmm1
# |              ^
# | <stdin>:4661:28: note: scanning from here
# |  vxorps %ymm0, %ymm7, %ymm0
# |                            ^
# | <stdin>:4675:2: note: possible intended match here
# |  vextractf128 $1, %ymm0, %xmm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/clmul-vector-256.ll:6824:14: error: AVX1-NEXT: expected string not found in input
# | ; AVX1-NEXT: vextractf128 $1, %ymm0, %xmm1
# |              ^
# | <stdin>:7255:28: note: scanning from here
# |  vxorps %ymm0, %ymm7, %ymm0
# |                            ^
# | <stdin>:7270:2: note: possible intended match here
# |  vextractf128 $1, %ymm0, %xmm0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/clmul-vector-256.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           4656:  vpsrlq $32, %xmm1, %xmm1 
# |           4657:  vpmuludq %xmm1, %xmm6, %xmm1 
# |           4658:  vpsllq $32, %xmm1, %xmm1 
# |           4659:  vinsertf128 $1, %xmm1, %ymm0, %ymm0 
# |           4660:  vxorps %ymm0, %ymm8, %ymm0 
# |           4661:  vxorps %ymm0, %ymm7, %ymm0 
# | next:4146'0                                X error: no match found
# |           4662:  vpshufb .LCPI7_68(%rip), %xmm0, %xmm1 # xmm1 = xmm0[u,u,u,u,3],zero,zero,zero,xmm0[u,u,u,u,11],zero,zero,zero 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4663:  vpshufb .LCPI7_69(%rip), %xmm0, %xmm6 # xmm6 = xmm0[u,u,u,u],zero,xmm0[2],zero,zero,xmm0[u,u,u,u],zero,xmm0[10],zero,zero 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4664:  vpor %xmm1, %xmm6, %xmm1 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4665:  vpshufb .LCPI7_70(%rip), %xmm0, %xmm6 # xmm6 = xmm0[u,u,u,u],zero,zero,xmm0[1,0,u,u,u,u],zero,zero,xmm0[9,8] 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4666:  vpor %xmm1, %xmm6, %xmm1 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           4670:  vpshufb %xmm6, %xmm4, %xmm6 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4671:  vpsrlw $4, %xmm1, %xmm1 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4672:  vpand %xmm2, %xmm1, %xmm1 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4673:  vpshufb %xmm1, %xmm5, %xmm1 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4674:  vpor %xmm1, %xmm6, %xmm1 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4675:  vextractf128 $1, %ymm0, %xmm0 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:4146'1      ?                              possible intended match
# |           4676:  vpshufb %xmm3, %xmm0, %xmm0 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4677:  vpand %xmm2, %xmm0, %xmm3 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4678:  vpshufb %xmm3, %xmm4, %xmm3 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4679:  vpsrlw $4, %xmm0, %xmm0 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4680:  vpand %xmm2, %xmm0, %xmm0 
# | next:4146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           7250:  vpsrlq $32, %xmm1, %xmm1 
# |           7251:  vpmuludq %xmm1, %xmm6, %xmm1 
# |           7252:  vpsllq $32, %xmm1, %xmm1 
# |           7253:  vinsertf128 $1, %xmm1, %ymm0, %ymm0 
# |           7254:  vxorps %ymm0, %ymm8, %ymm0 
# |           7255:  vxorps %ymm0, %ymm7, %ymm0 
# | next:6824'0                                X error: no match found
# |           7256:  vpshufb .LCPI11_68(%rip), %xmm0, %xmm1 # xmm1 = xmm0[u,u,u,u,3],zero,zero,zero,xmm0[u,u,u,u,11],zero,zero,zero 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7257:  vpshufb .LCPI11_69(%rip), %xmm0, %xmm6 # xmm6 = xmm0[u,u,u,u],zero,xmm0[2],zero,zero,xmm0[u,u,u,u],zero,xmm0[10],zero,zero 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7258:  vpor %xmm1, %xmm6, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7259:  vpshufb .LCPI11_70(%rip), %xmm0, %xmm6 # xmm6 = xmm0[u,u,u,u],zero,zero,xmm0[1,0,u,u,u,u],zero,zero,xmm0[9,8] 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7260:  vpor %xmm1, %xmm6, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           7265:  vpsrlw $4, %xmm1, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7266:  vpand %xmm2, %xmm1, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7267:  vpshufb %xmm1, %xmm5, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7268:  vpor %xmm1, %xmm6, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7269:  vpsrlq $1, %xmm1, %xmm1 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7270:  vextractf128 $1, %ymm0, %xmm0 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:6824'1      ?                              possible intended match
# |           7271:  vpshufb %xmm3, %xmm0, %xmm0 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7272:  vpand %xmm2, %xmm0, %xmm3 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7273:  vpshufb %xmm3, %xmm4, %xmm3 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7274:  vpsrlw $4, %xmm0, %xmm0 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           7275:  vpand %xmm2, %xmm0, %xmm0 
# | next:6824'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/clmul-vector-512.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/clmul-vector-512.ll -mtriple=x86_64-- -mattr=+avx512f,+vpclmulqdq | /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/clmul-vector-512.ll --check-prefixes=AVX512,AVX512F
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -mattr=+avx512f,+vpclmulqdq
# 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/clmul-vector-512.ll --check-prefixes=AVX512,AVX512F
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/clmul-vector-512.ll:1904:17: error: AVX512F-NEXT: is not on the line after the previous match
# | ; AVX512F-NEXT: vpsllq $32, %zmm0, %zmm0
# |                 ^
# | <stdin>:3747:2: note: 'next' match was here
# |  vpsllq $32, %zmm0, %zmm0
# |  ^
# | <stdin>:3745:30: note: previous match ended here
# |  vpmuludq %zmm0, %zmm5, %zmm0
# |                              ^
# | <stdin>:3746:1: note: non-matching line after previous match is here
# |  vpmuludq %zmm1, %zmm5, %zmm1
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/clmul-vector-512.ll:3595:17: error: AVX512F-NEXT: is not on the line after the previous match
# | ; AVX512F-NEXT: vpsllq $32, %zmm0, %zmm0
# |                 ^
# | <stdin>:6090:2: note: 'next' match was here
# |  vpsllq $32, %zmm0, %zmm0
# |  ^
# | <stdin>:6088:30: note: previous match ended here
# |  vpmuludq %zmm0, %zmm5, %zmm0
# |                              ^
# | <stdin>:6089:1: note: non-matching line after previous match is here
# |  vpmuludq %zmm1, %zmm5, %zmm1
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/clmul-vector-512.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |         3742:  vpternlogq $150, %zmm0, %zmm9, %zmm3 # zmm3 = zmm3 ^ zmm9 ^ zmm0 
# |         3743:  vpandq %zmm4, %zmm1, %zmm0 
# |         3744:  vpandq %zmm2, %zmm1, %zmm1 
# |         3745:  vpmuludq %zmm0, %zmm5, %zmm0 
# |         3746:  vpmuludq %zmm1, %zmm5, %zmm1 
# |         3747:  vpsllq $32, %zmm0, %zmm0 
# | next:1904      !~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         3748:  vpsllq $32, %zmm1, %zmm1 
# |         3749:  vpternlogq $150, %zmm0, %zmm3, %zmm1 # zmm1 = zmm1 ^ zmm3 ^ zmm0 
# |         3750:  vpshufb .LCPI7_36(%rip), %ymm1, %ymm0 # ymm0 = ymm1[u,u,u,u,3],zero,zero,zero,ymm1[u,u,u,u,11],zero,zero,zero,ymm1[u,u,u,u,19],zero,zero,zero,ymm1[u,u,u,u,27],zero,zero,zero 
# |         3751:  vpshufb .LCPI7_37(%rip), %ymm1, %ymm2 # ymm2 = ymm1[u,u,u,u],zero,ymm1[2],zero,zero,ymm1[u,u,u,u],zero,ymm1[10],zero,zero,ymm1[u,u,u,u],zero,ymm1[18],zero,zero,ymm1[u,u,u,u],zero,ymm1[26],zero,zero 
# |         3752:  vpor %ymm0, %ymm2, %ymm0 
# |            .
# |            .
# |            .
# |         6085:  vpternlogq $150, %zmm0, %zmm9, %zmm3 # zmm3 = zmm3 ^ zmm9 ^ zmm0 
# |         6086:  vpandq %zmm4, %zmm1, %zmm0 
# |         6087:  vpandq %zmm2, %zmm1, %zmm1 
# |         6088:  vpmuludq %zmm0, %zmm5, %zmm0 
# |         6089:  vpmuludq %zmm1, %zmm5, %zmm1 
# |         6090:  vpsllq $32, %zmm0, %zmm0 
# | next:3595      !~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         6091:  vpsllq $32, %zmm1, %zmm1 
# |         6092:  vpternlogq $150, %zmm0, %zmm3, %zmm1 # zmm1 = zmm1 ^ zmm3 ^ zmm0 
# |         6093:  vpshufb .LCPI11_36(%rip), %ymm1, %ymm0 # ymm0 = ymm1[u,u,u,u,3],zero,zero,zero,ymm1[u,u,u,u,11],zero,zero,zero,ymm1[u,u,u,u,19],zero,zero,zero,ymm1[u,u,u,u,27],zero,zero,zero 
# |         6094:  vpshufb .LCPI11_37(%rip), %ymm1, %ymm2 # ymm2 = ymm1[u,u,u,u],zero,ymm1[2],zero,zero,ymm1[u,u,u,u],zero,ymm1[10],zero,zero,ymm1[u,u,u,u],zero,ymm1[18],zero,zero,ymm1[u,u,u,u],zero,ymm1[26],zero,zero 
# |         6095:  vpor %ymm0, %ymm2, %ymm0 
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/176718


More information about the llvm-commits mailing list