[llvm] [X86] Prefer AVX512 VPCMP against zero over splat(1) for sle/slt (PR #216716)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 06:25:50 PDT 2026


github-actions[bot] wrote:

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

* 180719 tests passed
* 3690 tests skipped
* 3 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/X86/avx512-broadcast-unfold.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/avx512-broadcast-unfold.ll -mtriple=x86_64-pc-linux -mattr=avx512vl | /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/avx512-broadcast-unfold.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-pc-linux -mattr=avx512vl
# 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/avx512-broadcast-unfold.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll:3555:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpbroadcastd {{.*#+}} xmm0 = [1,1,1,1]
# |               ^
# | <stdin>:3164:17: note: scanning from here
# |  xorl %eax, %eax
# |                 ^
# | <stdin>:3166:2: note: possible intended match here
# |  vpbroadcastd .LCPI108_0(%rip), %xmm1 # xmm1 = [3,3,3,3]
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll:3589:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpbroadcastd {{.*#+}} ymm0 = [1,1,1,1,1,1,1,1]
# |               ^
# | <stdin>:3194:17: note: scanning from here
# |  xorl %eax, %eax
# |                 ^
# | <stdin>:3196:28: note: possible intended match here
# |  vpbroadcastd .LCPI109_0(%rip), %ymm1 # ymm1 = [3,3,3,3,3,3,3,3]
# |                            ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll:3624:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpbroadcastd {{.*#+}} zmm0 = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
# |               ^
# | <stdin>:3225:17: note: scanning from here
# |  xorl %eax, %eax
# |                 ^
# | <stdin>:3227:28: note: possible intended match here
# |  vpbroadcastd .LCPI110_0(%rip), %zmm1 # zmm1 = [3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3]
# |                            ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll:3659:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpbroadcastq {{.*#+}} xmm0 = [1,1]
# |               ^
# | <stdin>:3256:17: note: scanning from here
# |  xorl %eax, %eax
# |                 ^
# | <stdin>:3258:2: note: possible intended match here
# |  vpbroadcastq .LCPI111_0(%rip), %xmm1 # xmm1 = [3,3]
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll:3693:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpbroadcastq {{.*#+}} ymm0 = [1,1,1,1]
# |               ^
# | <stdin>:3286:17: note: scanning from here
# |  xorl %eax, %eax
# |                 ^
# | <stdin>:3288:2: note: possible intended match here
# |  vpbroadcastq .LCPI112_0(%rip), %ymm1 # ymm1 = [3,3,3,3]
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll:3728:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: vpbroadcastq {{.*#+}} zmm0 = [1,1,1,1,1,1,1,1]
# |               ^
# | <stdin>:3317:17: note: scanning from here
# |  xorl %eax, %eax
# |                 ^
# | <stdin>:3319:28: note: possible intended match here
# |  vpbroadcastq .LCPI113_0(%rip), %zmm1 # zmm1 = [3,3,3,3,3,3,3,3]
# |                            ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           3159:  .prefalign 4, .Lfunc_end108, nop 
# |           3160:  .type bcast_unfold_pcmp_v4i32, at function 
# |           3161: bcast_unfold_pcmp_v4i32: # @bcast_unfold_pcmp_v4i32 
# |           3162:  .cfi_startproc 
# |           3163: # %bb.0: # %bb 
# |           3164:  xorl %eax, %eax 
# | next:3555'0                    {   search range start (exclusive)
# | next:3555'1                        error: no match found in search range
# |           3165:  vpxor %xmm0, %xmm0, %xmm0 
# |           3166:  vpbroadcastd .LCPI108_0(%rip), %xmm1 # xmm1 = [3,3,3,3] 
# | next:3555'2      ?                                                         possible intended match
# |           3167:  .p2align 4 
# |           3168: .LBB108_1: # %bb1 
# |           3169:  # =>This Inner Loop Header: Depth=1 
# |           3170:  vpcmpnltd (%rdi,%rax,4), %xmm0, %k1 
# |           3171:  vmovdqu32 %xmm1, (%rdi,%rax,4) {%k1} 
# |              .
# |              .
# |              .
# |           3186:  .size .LCPI109_0, 4 
# |           3187:  .text 
# |           3188:  .globl bcast_unfold_pcmp_v8i32 
# |           3189:  .prefalign 4, .Lfunc_end109, nop 
# |           3190:  .type bcast_unfold_pcmp_v8i32, at function 
# |           3191: bcast_unfold_pcmp_v8i32: # @bcast_unfold_pcmp_v8i32 
# | next:3555'3                             }                             search range end (exclusive)
# |           3192:  .cfi_startproc 
# |           3193: # %bb.0: # %bb 
# |           3194:  xorl %eax, %eax 
# | next:3589'0                    {   search range start (exclusive)
# | next:3589'1                        error: no match found in search range
# |           3195:  vpxor %xmm0, %xmm0, %xmm0 
# |           3196:  vpbroadcastd .LCPI109_0(%rip), %ymm1 # ymm1 = [3,3,3,3,3,3,3,3] 
# | next:3589'2                                ?                                       possible intended match
# |           3197:  .p2align 4 
# |           3198: .LBB109_1: # %bb1 
# |           3199:  # =>This Inner Loop Header: Depth=1 
# |           3200:  vpcmpnltd (%rdi,%rax,4), %ymm0, %k1 
# |           3201:  vmovdqu32 %ymm1, (%rdi,%rax,4) {%k1} 
# |              .
# |              .
# |              .
# |           3217:  .size .LCPI110_0, 4 
# |           3218:  .text 
# |           3219:  .globl bcast_unfold_pcmp_v16i32 
# |           3220:  .prefalign 4, .Lfunc_end110, nop 
# |           3221:  .type bcast_unfold_pcmp_v16i32, at function 
# |           3222: bcast_unfold_pcmp_v16i32: # @bcast_unfold_pcmp_v16i32 
# | next:3589'3                              }                              search range end (exclusive)
# |           3223:  .cfi_startproc 
# |           3224: # %bb.0: # %bb 
# |           3225:  xorl %eax, %eax 
# | next:3624'0                    {   search range start (exclusive)
# | next:3624'1                        error: no match found in search range
# |           3226:  vpxor %xmm0, %xmm0, %xmm0 
# |           3227:  vpbroadcastd .LCPI110_0(%rip), %zmm1 # zmm1 = [3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3] 
# | next:3624'2                                ?                                                       possible intended match
# |           3228:  .p2align 4 
# |           3229: .LBB110_1: # %bb1 
# |           3230:  # =>This Inner Loop Header: Depth=1 
# |           3231:  vpcmpnltd (%rdi,%rax,4), %zmm0, %k1 
# |           3232:  vmovdqu32 %zmm1, (%rdi,%rax,4) {%k1} 
# |              .
# |              .
# |              .
# |           3248:  .size .LCPI111_0, 8 
# |           3249:  .text 
# |           3250:  .globl bcast_unfold_pcmp_v2i64 
# |           3251:  .prefalign 4, .Lfunc_end111, nop 
# |           3252:  .type bcast_unfold_pcmp_v2i64, at function 
# |           3253: bcast_unfold_pcmp_v2i64: # @bcast_unfold_pcmp_v2i64 
# | next:3624'3                             }                             search range end (exclusive)
# |           3254:  .cfi_startproc 
# |           3255: # %bb.0: # %bb 
# |           3256:  xorl %eax, %eax 
# | next:3659'0                    {   search range start (exclusive)
# | next:3659'1                        error: no match found in search range
# |           3257:  vpxor %xmm0, %xmm0, %xmm0 
# |           3258:  vpbroadcastq .LCPI111_0(%rip), %xmm1 # xmm1 = [3,3] 
# | next:3659'2      ?                                                     possible intended match
# |           3259:  .p2align 4 
# |           3260: .LBB111_1: # %bb1 
# |           3261:  # =>This Inner Loop Header: Depth=1 
# |           3262:  vpcmpnltq (%rdi,%rax,8), %xmm0, %k1 
# |           3263:  vmovdqu64 %xmm1, (%rdi,%rax,8) {%k1} 
# |              .
# |              .
# |              .
# |           3278:  .size .LCPI112_0, 8 
# |           3279:  .text 
# |           3280:  .globl bcast_unfold_pcmp_v4i64 
# |           3281:  .prefalign 4, .Lfunc_end112, nop 
# |           3282:  .type bcast_unfold_pcmp_v4i64, at function 
# |           3283: bcast_unfold_pcmp_v4i64: # @bcast_unfold_pcmp_v4i64 
# | next:3659'3                             }                             search range end (exclusive)
# |           3284:  .cfi_startproc 
# |           3285: # %bb.0: # %bb 
# |           3286:  xorl %eax, %eax 
# | next:3693'0                    {   search range start (exclusive)
# | next:3693'1                        error: no match found in search range
# |           3287:  vpxor %xmm0, %xmm0, %xmm0 
# |           3288:  vpbroadcastq .LCPI112_0(%rip), %ymm1 # ymm1 = [3,3,3,3] 
# | next:3693'2      ?                                                         possible intended match
# |           3289:  .p2align 4 
# |           3290: .LBB112_1: # %bb1 
# |           3291:  # =>This Inner Loop Header: Depth=1 
# |           3292:  vpcmpnltq (%rdi,%rax,8), %ymm0, %k1 
# |           3293:  vmovdqu64 %ymm1, (%rdi,%rax,8) {%k1} 
# |              .
# |              .
# |              .
# |           3309:  .size .LCPI113_0, 8 
# |           3310:  .text 
# |           3311:  .globl bcast_unfold_pcmp_v8i64 
# |           3312:  .prefalign 4, .Lfunc_end113, nop 
# |           3313:  .type bcast_unfold_pcmp_v8i64, at function 
# |           3314: bcast_unfold_pcmp_v8i64: # @bcast_unfold_pcmp_v8i64 
# | next:3693'3                             }                             search range end (exclusive)
# |           3315:  .cfi_startproc 
# |           3316: # %bb.0: # %bb 
# |           3317:  xorl %eax, %eax 
# | next:3728'0                    {   search range start (exclusive)
# | next:3728'1                        error: no match found in search range
# |           3318:  vpxor %xmm0, %xmm0, %xmm0 
# |           3319:  vpbroadcastq .LCPI113_0(%rip), %zmm1 # zmm1 = [3,3,3,3,3,3,3,3] 
# | next:3728'2                                ?                                       possible intended match
# |           3320:  .p2align 4 
# |           3321: .LBB113_1: # %bb1 
# |           3322:  # =>This Inner Loop Header: Depth=1 
# |           3323:  vpcmpnltq (%rdi,%rax,8), %zmm0, %k1 
# |           3324:  vmovdqu64 %zmm1, (%rdi,%rax,8) {%k1} 
# |              .
# |              .
# |              .
# |           3344:  .size .LCPI114_1, 4 
# |           3345:  .text 
# |           3346:  .globl bcast_unfold_pcmpu_v4i32 
# |           3347:  .prefalign 4, .Lfunc_end114, nop 
# |           3348:  .type bcast_unfold_pcmpu_v4i32, at function 
# |           3349: bcast_unfold_pcmpu_v4i32: # @bcast_unfold_pcmpu_v4i32 
# | next:3728'3                              }                              search range end (exclusive)
# |           3350:  .cfi_startproc 
# |           3351: # %bb.0: # %bb 
# |           3352:  xorl %eax, %eax 
# |           3353:  vpbroadcastd .LCPI114_0(%rip), %xmm0 # xmm0 = [2,2,2,2] 
# |           3354:  vpbroadcastd .LCPI114_1(%rip), %xmm1 # xmm1 = [3,3,3,3] 
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/cmp-select-sign.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/cmp-select-sign.ll -mtriple=x86_64-unknown-unknown | /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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-NOBMI,CHECK-NOBMI-SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown
# 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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-NOBMI,CHECK-NOBMI-SSE2
# 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 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/cmp-select-sign.ll -mtriple=x86_64-unknown-unknown -mattr=+bmi2 | /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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-BMI2-SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+bmi2
# 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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-BMI2-SSE2
# 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 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/cmp-select-sign.ll -mtriple=x86_64-unknown-unknown -mattr=+bmi2,+avx  | /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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-AVX,CHECK-AVX12,CHECK-AVX1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+bmi2,+avx
# 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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-AVX,CHECK-AVX12,CHECK-AVX1
# note: command had no output on stdout or stderr
# RUN: at line 5
/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/cmp-select-sign.ll -mtriple=x86_64-unknown-unknown -mattr=+bmi2,+avx2 | /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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-AVX,CHECK-AVX12,CHECK-AVX2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+bmi2,+avx2
# 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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-AVX,CHECK-AVX12,CHECK-AVX2
# note: command had no output on stdout or stderr
# RUN: at line 6
/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/cmp-select-sign.ll -mtriple=x86_64-unknown-unknown -mattr=+bmi2,+avx512f,+avx512vl | /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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-AVX,CHECK-AVX512
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+bmi2,+avx512f,+avx512vl
# 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/cmp-select-sign.ll --check-prefixes=CHECK,CHECK-BMI2,CHECK-AVX,CHECK-AVX512
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/cmp-select-sign.ll:562:22: error: CHECK-AVX512-NEXT: expected string not found in input
# | ; CHECK-AVX512-NEXT: vpcmpeqd %xmm1, %xmm1, %xmm1
# |                      ^
# | <stdin>:422:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:423:2: note: possible intended match here
# |  vpxor %xmm1, %xmm1, %xmm1
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/cmp-select-sign.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           417:  .globl not_sign_4xi32_select_false_breaks_pattern 
# |           418:  .prefalign 4, .Lfunc_end18, nop 
# |           419:  .type not_sign_4xi32_select_false_breaks_pattern, at function 
# |           420: not_sign_4xi32_select_false_breaks_pattern: # @not_sign_4xi32_select_false_breaks_pattern 
# |           421:  .cfi_startproc 
# |           422: # %bb.0: 
# | next:562'0            {   search range start (exclusive)
# | next:562'1                error: no match found in search range
# |           423:  vpxor %xmm1, %xmm1, %xmm1 
# | next:562'2      ?                           possible intended match
# |           424:  vpcmpnltd %xmm1, %xmm0, %k1 
# |           425:  vpmovsxbd .LCPI18_2(%rip), %xmm0 # xmm0 = [4294967295,4294967295,4294967295,1] 
# |           426:  vpbroadcastd .LCPI18_1(%rip), %xmm0 {%k1} # xmm0 {%k1} = [1,1,1,1] 
# |           427:  retq 
# |           428: .Lfunc_end18: 
# |             .
# |             .
# |             .
# |           483:  .size .LCPI19_2, 8 
# |           484:  .text 
# |           485:  .globl sign_4xi65 
# |           486:  .prefalign 4, .Lfunc_end19, nop 
# |           487:  .type sign_4xi65, at function 
# |           488: sign_4xi65: # @sign_4xi65 
# | next:562'3                }                search range end (exclusive)
# |           489:  .cfi_startproc 
# |           490: # %bb.0: 
# |           491:  movq %rdi, %rax 
# |           492:  movq 8(%rsp), %rcx 
# |           493:  movq 24(%rsp), %rsi 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/vector-pcmp.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/vector-pcmp.ll -mtriple=x86_64-unknown-unknown -mattr=+sse2                                   | /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/vector-pcmp.ll --check-prefixes=CHECK,SSE,SSE2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+sse2
# 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/vector-pcmp.ll --check-prefixes=CHECK,SSE,SSE2
# 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 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll -mtriple=x86_64-unknown-unknown -mattr=+sse4.2                                 | /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/vector-pcmp.ll --check-prefixes=CHECK,SSE,SSE42
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+sse4.2
# 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/vector-pcmp.ll --check-prefixes=CHECK,SSE,SSE42
# 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 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll -mtriple=x86_64-unknown-unknown -mattr=+avx                                    | /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/vector-pcmp.ll --check-prefixes=CHECK,AVX,AVX1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+avx
# 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/vector-pcmp.ll --check-prefixes=CHECK,AVX,AVX1
# note: command had no output on stdout or stderr
# RUN: at line 5
/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/vector-pcmp.ll -mtriple=x86_64-unknown-unknown -mattr=+avx2                                   | /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/vector-pcmp.ll --check-prefixes=CHECK,AVX,AVX2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+avx2
# 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/vector-pcmp.ll --check-prefixes=CHECK,AVX,AVX2
# note: command had no output on stdout or stderr
# RUN: at line 6
/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/vector-pcmp.ll -mtriple=x86_64-unknown-unknown -mattr=+avx512f,+avx512vl                      | /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/vector-pcmp.ll --check-prefixes=CHECK,AVX,AVX512,AVX512F
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-unknown-unknown -mattr=+avx512f,+avx512vl
# 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/vector-pcmp.ll --check-prefixes=CHECK,AVX,AVX512,AVX512F
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1450:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %xmm2, %xmm2, %xmm2
# |                 ^
# | <stdin>:628:26: note: scanning from here
# |  vpsllq $63, %xmm1, %xmm1
# |                          ^
# | <stdin>:632:2: note: possible intended match here
# |  vpcmpeqd %xmm0, %xmm0, %xmm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1492:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %xmm2, %xmm2, %xmm2
# |                 ^
# | <stdin>:645:26: note: scanning from here
# |  vpslld $31, %xmm1, %xmm1
# |                          ^
# | <stdin>:649:2: note: possible intended match here
# |  vpcmpeqd %xmm0, %xmm0, %xmm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1532:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpsraw $15, %xmm0, %xmm0
# |                 ^
# | <stdin>:661:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:664:5: note: possible intended match here
# |  vpandn %xmm1, %xmm0, %xmm0
# |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1574:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %xmm2, %xmm2, %xmm2
# |                 ^
# | <stdin>:675:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:677:2: note: possible intended match here
# |  vpcmpgtb %xmm0, %xmm2, %xmm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1633:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %ymm2, %ymm2, %ymm2
# |                 ^
# | <stdin>:690:26: note: scanning from here
# |  vpslld $31, %xmm1, %xmm1
# |                          ^
# | <stdin>:694:2: note: possible intended match here
# |  vpcmpeqd %xmm0, %xmm0, %xmm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1691:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %ymm2, %ymm2, %ymm2
# |                 ^
# | <stdin>:709:26: note: scanning from here
# |  vpslld $31, %ymm1, %ymm1
# |                          ^
# | <stdin>:713:2: note: possible intended match here
# |  vpcmpeqd %ymm0, %ymm0, %ymm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1749:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %ymm1, %ymm1, %ymm1
# |                 ^
# | <stdin>:730:28: note: scanning from here
# |  vptestmd %zmm1, %zmm1, %k1
# |                            ^
# | <stdin>:732:2: note: possible intended match here
# |  vpcmpgtw %ymm0, %ymm1, %ymm0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll:1921:17: error: AVX512F-NEXT: expected string not found in input
# | ; AVX512F-NEXT: vpcmpeqd %ymm2, %ymm2, %ymm2
# |                 ^
# | <stdin>:749:9: note: scanning from here
# | # %bb.0:
# |         ^
# | <stdin>:751:2: note: possible intended match here
# |  vpcmpgtb %ymm0, %ymm2, %ymm0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/vector-pcmp.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            623:  .prefalign 4, .Lfunc_end45, nop 
# |            624:  .type ispositive_mask_v2i64_v2i1, at function 
# |            625: ispositive_mask_v2i64_v2i1: # @ispositive_mask_v2i64_v2i1 
# |            626:  .cfi_startproc 
# |            627: # %bb.0: 
# |            628:  vpsllq $63, %xmm1, %xmm1 
# | next:1450'0                             {   search range start (exclusive)
# | next:1450'1                                 error: no match found in search range
# |            629:  vpxor %xmm2, %xmm2, %xmm2 
# |            630:  vpcmpnltq %xmm2, %xmm0, %k1 
# |            631:  vptestmq %xmm1, %xmm1, %k1 {%k1} 
# |            632:  vpcmpeqd %xmm0, %xmm0, %xmm0 
# | next:1450'2      ?                              possible intended match
# |            633:  vmovdqa64 %xmm0, %xmm0 {%k1} {z} 
# |            634:  retq 
# |            635: .Lfunc_end45: 
# |            636:  .size ispositive_mask_v2i64_v2i1, .Lfunc_end45-ispositive_mask_v2i64_v2i1 
# |            637:  .cfi_endproc 
# |            638:  # -- End function 
# |            639:  .globl is_positive_mask_v4i32_v4i1 # -- Begin function is_positive_mask_v4i32_v4i1 
# |            640:  .prefalign 4, .Lfunc_end46, nop 
# |            641:  .type is_positive_mask_v4i32_v4i1, at function 
# |            642: is_positive_mask_v4i32_v4i1: # @is_positive_mask_v4i32_v4i1 
# | next:1450'3                                 }                                 search range end (exclusive)
# |            643:  .cfi_startproc 
# |            644: # %bb.0: 
# |            645:  vpslld $31, %xmm1, %xmm1 
# | next:1492'0                             {   search range start (exclusive)
# | next:1492'1                                 error: no match found in search range
# |            646:  vpxor %xmm2, %xmm2, %xmm2 
# |            647:  vpcmpnltd %xmm2, %xmm0, %k1 
# |            648:  vptestmd %xmm1, %xmm1, %k1 {%k1} 
# |            649:  vpcmpeqd %xmm0, %xmm0, %xmm0 
# | next:1492'2      ?                              possible intended match
# |            650:  vmovdqa32 %xmm0, %xmm0 {%k1} {z} 
# |            651:  retq 
# |            652: .Lfunc_end46: 
# |            653:  .size is_positive_mask_v4i32_v4i1, .Lfunc_end46-is_positive_mask_v4i32_v4i1 
# |            654:  .cfi_endproc 
# |            655:  # -- End function 
# |            656:  .globl is_positive_mask_v8i16_v8i1 # -- Begin function is_positive_mask_v8i16_v8i1 
# |            657:  .prefalign 4, .Lfunc_end47, nop 
# |            658:  .type is_positive_mask_v8i16_v8i1, at function 
# |            659: is_positive_mask_v8i16_v8i1: # @is_positive_mask_v8i16_v8i1 
# | next:1492'3                                 }                                 search range end (exclusive)
# |            660:  .cfi_startproc 
# |            661: # %bb.0: 
# | next:1532'0            {   search range start (exclusive)
# | next:1532'1                error: no match found in search range
# |            662:  vpxor %xmm2, %xmm2, %xmm2 
# |            663:  vpcmpgtw %xmm0, %xmm2, %xmm0 
# |            664:  vpandn %xmm1, %xmm0, %xmm0 
# | next:1532'2         ?                         possible intended match
# |            665:  retq 
# |            666: .Lfunc_end47: 
# |            667:  .size is_positive_mask_v8i16_v8i1, .Lfunc_end47-is_positive_mask_v8i16_v8i1 
# |            668:  .cfi_endproc 
# |            669:  # -- End function 
# |            670:  .globl is_positive_mask_v16i8_v16i1 # -- Begin function is_positive_mask_v16i8_v16i1 
# |            671:  .prefalign 4, .Lfunc_end48, nop 
# |            672:  .type is_positive_mask_v16i8_v16i1, at function 
# |            673: is_positive_mask_v16i8_v16i1: # @is_positive_mask_v16i8_v16i1 
# | next:1532'3                                  }                                  search range end (exclusive)
# |            674:  .cfi_startproc 
# |            675: # %bb.0: 
# | next:1574'0            {   search range start (exclusive)
# | next:1574'1                error: no match found in search range
# |            676:  vpxor %xmm2, %xmm2, %xmm2 
# |            677:  vpcmpgtb %xmm0, %xmm2, %xmm0 
# | next:1574'2      ?                              possible intended match
# |            678:  vpandn %xmm1, %xmm0, %xmm0 
# |            679:  retq 
# |            680: .Lfunc_end48: 
# |            681:  .size is_positive_mask_v16i8_v16i1, .Lfunc_end48-is_positive_mask_v16i8_v16i1 
# |            682:  .cfi_endproc 
# |            683:  # -- End function 
# |            684:  .globl is_positive_mask_v4i64_v4i1 # -- Begin function is_positive_mask_v4i64_v4i1 
# |            685:  .prefalign 4, .Lfunc_end49, nop 
# |            686:  .type is_positive_mask_v4i64_v4i1, at function 
# |            687: is_positive_mask_v4i64_v4i1: # @is_positive_mask_v4i64_v4i1 
# | next:1574'3                                 }                                 search range end (exclusive)
# |            688:  .cfi_startproc 
# |            689: # %bb.0: 
# |            690:  vpslld $31, %xmm1, %xmm1 
# | next:1633'0                             {   search range start (exclusive)
# | next:1633'1                                 error: no match found in search range
# |            691:  vpxor %xmm2, %xmm2, %xmm2 
# |            692:  vpcmpnltq %ymm2, %ymm0, %k1 
# |            693:  vptestmd %xmm1, %xmm1, %k1 {%k1} 
# |            694:  vpcmpeqd %xmm0, %xmm0, %xmm0 
# | next:1633'2      ?                              possible intended match
# |            695:  vmovdqa32 %xmm0, %xmm0 {%k1} {z} 
# |            696:  vzeroupper 
# |            697:  retq 
# |            698: .Lfunc_end49: 
# |            699:  .size is_positive_mask_v4i64_v4i1, .Lfunc_end49-is_positive_mask_v4i64_v4i1 
# |            700:  .cfi_endproc 
# |            701:  # -- End function 
# |            702:  .globl is_positive_mask_v8i32_v8i1 # -- Begin function is_positive_mask_v8i32_v8i1 
# |            703:  .prefalign 4, .Lfunc_end50, nop 
# |            704:  .type is_positive_mask_v8i32_v8i1, at function 
# |            705: is_positive_mask_v8i32_v8i1: # @is_positive_mask_v8i32_v8i1 
# | next:1633'3                                 }                                 search range end (exclusive)
# |            706:  .cfi_startproc 
# |            707: # %bb.0: 
# |            708:  vpmovsxwd %xmm1, %ymm1 
# |            709:  vpslld $31, %ymm1, %ymm1 
# | next:1691'0                             {   search range start (exclusive)
# | next:1691'1                                 error: no match found in search range
# |            710:  vpxor %xmm2, %xmm2, %xmm2 
# |            711:  vpcmpnltd %ymm2, %ymm0, %k1 
# |            712:  vptestmd %ymm1, %ymm1, %k1 {%k1} 
# |            713:  vpcmpeqd %ymm0, %ymm0, %ymm0 
# | next:1691'2      ?                              possible intended match
# |            714:  vmovdqa32 %ymm0, %ymm0 {%k1} {z} 
# |            715:  vpmovdw %ymm0, %xmm0 
# |            716:  vzeroupper 
# |            717:  retq 
# |            718: .Lfunc_end50: 
# |            719:  .size is_positive_mask_v8i32_v8i1, .Lfunc_end50-is_positive_mask_v8i32_v8i1 
# |            720:  .cfi_endproc 
# |            721:  # -- End function 
# |            722:  .globl is_positive_mask_v16i16_v16i1 # -- Begin function is_positive_mask_v16i16_v16i1 
# |            723:  .prefalign 4, .Lfunc_end51, nop 
# |            724:  .type is_positive_mask_v16i16_v16i1, at function 
# |            725: is_positi
# | ...
# `---data was truncated (10240/12831) (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/216716


More information about the llvm-commits mailing list