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

Diego Caballero llvmlistbot at llvm.org
Thu Nov 30 06:06:52 PST 2023


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

Yes, I would expect this to be a canonicalization.

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


More information about the Mlir-commits mailing list