[clang] [CIR][X86] Add support for kunpck builtins (PR #168757)

Hendrik Hübner via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 29 06:39:31 PST 2025


================
@@ -77,3 +77,27 @@ __m512i test_mm512_undefined_epi32(void) {
   // OGCG: ret <8 x i64> zeroinitializer
   return _mm512_undefined_epi32();
 }
+
+__mmask16 test_mm512_kunpackb(__mmask16 A, __mmask16 B) {
+  // CIR-LABEL: test_mm512_kunpackb
+  // CIR: cir.call @{{.*}}kunpackb{{.*}}
----------------
HendrikHuebner wrote:

I think this should be matched more precisely.  In any case, you don't need the wildcard at the end.

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


More information about the cfe-commits mailing list