[clang] [CIR][CIRGen][Builtin][X86] Masked compress Intrinsics (PR #169582)

via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 6 01:20:46 PST 2025


================
@@ -729,7 +744,11 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
   case X86::BI__builtin_ia32_expandhi512_mask:
   case X86::BI__builtin_ia32_expandqi128_mask:
   case X86::BI__builtin_ia32_expandqi256_mask:
-  case X86::BI__builtin_ia32_expandqi512_mask:
+  case X86::BI__builtin_ia32_expandqi512_mask:{
+  mlir::Location loc = getLoc(expr->getExprLoc());
+  return emitX86CompressExpand(builder, loc, ops[0], ops[1], ops[2],
+                               "x86.avx512.mask.expand");
----------------
cs25resch11005-bhuvan wrote:

Addressed in the latest commit

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


More information about the cfe-commits mailing list