[clang] [CIR][X86] Implement lowering for AVX512 mask builtins (PR #169185)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 26 15:54:11 PST 2025


================
@@ -90,6 +90,37 @@ static mlir::Value getMaskVecValue(CIRGenFunction &cgf, const CallExpr *expr,
   return maskVec;
 }
 
+static mlir::Value emitX86MaskAddLogic(CIRGenFunction &cgf,
+                                       const CallExpr *expr,
----------------
andykaylor wrote:

```suggestion
static mlir::Value emitX86MaskAddLogic(CIRGenBuilderTy &builder,
                                       mlir::Location loc,
```
I've updated the signatures of the helper functions so we don't need to pass cgf and expr around so many places.

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


More information about the cfe-commits mailing list