[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:30 PST 2025


================
@@ -211,6 +211,44 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
                  std::string("unimplemented X86 builtin call: ") +
                      getContext().BuiltinInfo.getName(builtinID));
     return {};
+
+  case X86::BI__builtin_ia32_kunpckdi:
+  case X86::BI__builtin_ia32_kunpcksi:
+  case X86::BI__builtin_ia32_kunpckhi: {
----------------
HendrikHuebner wrote:

Can you move this to a separate function? In that case also pass the ops one by one and give them names

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


More information about the cfe-commits mailing list