================
@@ -86,6 +86,17 @@ static mlir::Value getMaskVecValue(CIRGenBuilderTy &builder,
mlir::Location loc,
return maskVec;
}
+static mlir::Value emitX86CompressStore(CIRGenBuilderTy &builder,
+ mlir::Location loc,
+ ArrayRef<mlir::Value> ops) {
+ auto resultTy = cast<cir::VectorType>(ops[1].getType());
+ mlir::Value maskValue =
+ getMaskVecValue(builder, loc, ops[2], resultTy.getSize());
+ mlir::Value ptr = ops[0];
----------------
andykaylor wrote:
I do see any value in saving this to a temporary. I realize classic codegen
does that too, but I don't see any value in it there either. It could be an
artifact of some earlier state.
https://github.com/llvm/llvm-project/pull/169648
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits