[Mlir-commits] [mlir] [mlir][vector] Add folders for full constant transfer masks (PR #71676)

Diego Caballero llvmlistbot at llvm.org
Fri Nov 10 16:33:28 PST 2023


================
@@ -5601,6 +5622,22 @@ LogicalResult ConstantMaskOp::verify() {
   return success();
 }
 
+bool ConstantMaskOp::isFullMask() {
+  auto resultType = getVectorType();
----------------
dcaballe wrote:

I thought Aart would know by heart but I found it :) https://github.com/llvm/llvm-project/blob/main/mlir/lib/Dialect/Vector/IR/VectorOps.cpp#L56-L120

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


More information about the Mlir-commits mailing list