[clang] [Clang][X86] Add tests for AVX512 integer comparison intrinsics to be used in constexpr (PR #169452)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 03:14:22 PDT 2026


================
@@ -631,6 +631,25 @@ __mmask64 test_mm512_cmpeq_epi8_mask(__m512i __a, __m512i __b) {
   // CHECK: icmp eq <64 x i8> %{{.*}}, %{{.*}}
   return (__mmask64)_mm512_cmpeq_epi8_mask(__a, __b);
 }
+//cmpeq
----------------
RKSimon wrote:

(style) these comment lines can go - its in the name of the intrinsic and we've already set the precendent that the TEST_CONSTEXPR should be immediately after the associated codegen test

https://github.com/llvm/llvm-project/pull/169452


More information about the cfe-commits mailing list