[clang] [X86][Clang] add remaining AVX512 integer comparison intrinsics to be used in constexpr (PR #228660)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 02:18:36 PDT 2026


github-actions[bot] wrote:

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

* 61841 tests passed
* 2004 tests skipped
* 1 test failed

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

### Clang
<details>
<summary>Clang.CodeGen/X86/avx512bw-builtins.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -x c -flax-vector-conversions=none -ffreestanding /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/X86/avx512bw-builtins.c -triple=x86_64-apple-darwin -target-feature +avx512bw -emit-llvm -o - -Wall -Werror -Wsign-conversion | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/X86/avx512bw-builtins.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -x c -flax-vector-conversions=none -ffreestanding /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/X86/avx512bw-builtins.c -triple=x86_64-apple-darwin -target-feature +avx512bw -emit-llvm -o - -Wall -Werror -Wsign-conversion
# 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/clang/test/CodeGen/X86/avx512bw-builtins.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/X86/avx512bw-builtins.c:656:18: error: CHECK-LABEL: expected string not found in input
# |  // CHECK-LABEL: test_mm512_cmpeq_epi8_mask
# |                  ^
# | <stdin>:1461:39: note: scanning from here
# | define i64 @test_mm512_cmpeq_epi8_mask(<8 x i64> noundef %__a, <8 x i64> noundef %__b) #1 {
# |                                       ^
# | <stdin>:1535:13: note: possible intended match here
# | define i64 @test_mm512_cmpgt_epi8_mask(<8 x i64> noundef %__a, <8 x i64> noundef %__b) #1 {
# |             ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/X86/avx512bw-builtins.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1456:  %5 = bitcast <64 x i1> %4 to i64 
# |           1457:  ret i64 %5 
# |           1458: } 
# |           1459:  
# |           1460: ; Function Attrs: noinline nounwind optnone 
# |           1461: define i64 @test_mm512_cmpeq_epi8_mask(<8 x i64> noundef %__a, <8 x i64> noundef %__b) #1 { 
# | label:656'0                                          {                                                        search range start (exclusive)
# | label:656'1                                                                                                   error: no match found in search range
# |           1462: entry: 
# |           1463:  %__a.addr = alloca <8 x i64>, align 64 
# |           1464:  %__b.addr = alloca <8 x i64>, align 64 
# |           1465:  store <8 x i64> %__a, ptr %__a.addr, align 64 
# |           1466:  store <8 x i64> %__b, ptr %__b.addr, align 64 
# |              .
# |              .
# |              .
# |           1530:  %8 = bitcast <64 x i1> %7 to i64 
# |           1531:  ret i64 %8 
# |           1532: } 
# |           1533:  
# |           1534: ; Function Attrs: noinline nounwind optnone 
# |           1535: define i64 @test_mm512_cmpgt_epi8_mask(<8 x i64> noundef %__a, <8 x i64> noundef %__b) #1 { 
# | label:656'2                 ?                                                                                 possible intended match
# |           1536: entry: 
# |           1537:  %__a.addr = alloca <8 x i64>, align 64 
# |           1538:  %__b.addr = alloca <8 x i64>, align 64 
# |           1539:  store <8 x i64> %__a, ptr %__a.addr, align 64 
# |           1540:  store <8 x i64> %__b, ptr %__b.addr, align 64 
# |              .
# |              .
# |              .
# |          10664: attributes #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: write) } 
# |          10665: attributes #7 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } 
# |          10666:  
# |          10667: !llvm.ident = !{!0} 
# |          10668:  
# |          10669: !0 = !{!"clang version 24.0.0git (https://github.com/llvm/llvm-project 0cd7a21eda542087634067f6af6040f577be84d8)"} 
# | label:656'3                                                                                                                        } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/228660


More information about the cfe-commits mailing list