[Mlir-commits] [mlir] [mlir][vector] Add patterns for vector masked load/store (PR #74834)

Diego Caballero llvmlistbot at llvm.org
Wed Dec 13 01:59:40 PST 2023


================
@@ -776,6 +776,32 @@ struct TestFoldArithExtensionIntoVectorContractPatterns
     (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns));
   }
 };
+
+struct TestVectorMaskedLoadStoreLowering
+    : public PassWrapper<TestVectorMaskedLoadStoreLowering,
+                         OperationPass<func::FuncOp>> {
+  MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
+      TestVectorMaskedLoadStoreLowering)
+
+  StringRef getArgument() const final {
+    return "test-vector-masked-load-store-lowering";
+  }
+  StringRef getDescription() const final {
+    return "Test patterns that lower the maskedload/maskedstore op to "
+           " vector.load/store op";
----------------
dcaballe wrote:

emulation

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


More information about the Mlir-commits mailing list