[clang] [CIR] Upstream gather instrinsics (PR #169157)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 10:25:23 PST 2025


================
@@ -68,6 +68,27 @@ static mlir::Value emitVectorFCmp(CIRGenBuilderTy &builder,
   return bitCast;
 }
 
+// Convert the mask from an integer type to a vector of i1.
+static mlir::Value getMaskVecValue(CIRGenFunction &cgf, mlir::Value mask,
----------------
andykaylor wrote:

This function is also being upstreamed in https://github.com/llvm/llvm-project/pull/168591 which I expect to merge today. You'll need to rebase this PR after that one is merged.

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


More information about the cfe-commits mailing list