[Mlir-commits] [mlir] 7ea8c65 - [mlir][MemRef] Change memref-expand to be a generic operation pass

River Riddle llvmlistbot at llvm.org
Tue Mar 8 12:29:11 PST 2022


Author: River Riddle
Date: 2022-03-08T12:25:32-08:00
New Revision: 7ea8c653698775f48a0b34ad906659b16bf566f4

URL: https://github.com/llvm/llvm-project/commit/7ea8c653698775f48a0b34ad906659b16bf566f4
DIFF: https://github.com/llvm/llvm-project/commit/7ea8c653698775f48a0b34ad906659b16bf566f4.diff

LOG: [mlir][MemRef] Change memref-expand to be a generic operation pass

This pass doesn't rely on any specific characteristics of FuncOp, and
can just be a generic operation pass.

Differential Revision: https://reviews.llvm.org/D121193

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td b/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td
index 37490a06b1be3..ff82c862cbcb8 100644
--- a/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td
+++ b/mlir/include/mlir/Dialect/MemRef/Transforms/Passes.td
@@ -11,7 +11,7 @@
 
 include "mlir/Pass/PassBase.td"
 
-def ExpandOps : Pass<"memref-expand", "FuncOp"> {
+def ExpandOps : Pass<"memref-expand"> {
   let summary = "Legalize memref operations to be convertible to LLVM.";
   let constructor = "mlir::memref::createExpandOpsPass()";
 }


        


More information about the Mlir-commits mailing list