================
@@ -151,6 +151,17 @@ computeFullLaneShuffleMask(CIRGenFunction &cgf, const
mlir::Value vec,
outIndices.resize(numElts);
}
+static mlir::Value emitX86CompressExpand(CIRGenBuilderTy &builder,
+ mlir::Location loc, mlir::Value
source,
+ mlir::Value mask,
+ mlir::Value inputVector,
+ const std::string &id) {
+ auto ResultTy = cast<cir::VectorType>(mask.getType());
+ mlir::Value MaskValue = getMaskVecValue(
+ builder, loc, inputVector, cast<cir::VectorType>(ResultTy).getSize());
+ return emitIntrinsicCallOp(builder, loc, id, ResultTy,
+ mlir::ValueRange{source, mask, MaskValue});
----------------
cs25resch11005-bhuvan wrote:
addressed in the latest commit
https://github.com/llvm/llvm-project/pull/169582
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits