[clang] [CIR][X86] Add support for `intersect` builtins (PR #172554)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 8 18:07:56 PST 2026


================
@@ -542,6 +542,31 @@ static mlir::Value emitX86vpcom(CIRGenBuilderTy &builder, mlir::Location loc,
   return builder.createVecCompare(loc, pred, op0, op1);
 }
 
+static mlir::Value emitX86MaskedCompareResult(CIRGenBuilderTy &builder,
----------------
andykaylor wrote:

This function already exists. It is just missing the `maskIn` handling. Can you add those lines to the existing function and remove the `cgf` parameter?

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


More information about the cfe-commits mailing list