[Mlir-commits] [mlir] [mlir][ArmSME] Add optional mask operand to tile_store (PR #70657)

Benjamin Maxwell llvmlistbot at llvm.org
Tue Oct 31 06:11:30 PDT 2023


================
@@ -60,6 +60,12 @@ def TileElementWidthMatchesTileID : TypesMatchWith<
                   "::llvm::cast<VectorType>($_self).getElementType())"
                   ".getWidth())">;
 
+class HasMatchingMaskTypeConstraint<string vector, string mask> :
+  OptionalTypesMatchWith<
+    mask # " has i1 element type and same shape as " # vector,
+    vector, mask,
+    "::llvm::cast<mlir::VectorType>($_self).cloneWith({}, IntegerType::get($_ctxt, 1))">;
----------------
MacDue wrote:

You should be able to rebase and de-duplicate this now :)

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


More information about the Mlir-commits mailing list