@@ -31,4 +31,34 @@ def ConvertOneDNNGraphToLinalg : Pass<"convert-onednn-graph-to-linalg"> {
3131 ];
3232}
3333
34+ def LowerToTileVector : Pass<"lower-to-tile-vector"> {
35+ let summary = "Lower tensor to tile vector.";
36+ let description = [{
37+ Lower tensor to tile vector form.
38+ }];
39+ let dependentDialects = [
40+ "::mlir::func::FuncDialect",
41+ "::mlir::math::MathDialect",
42+ "::mlir::arith::ArithDialect",
43+ "::mlir::tensor::TensorDialect",
44+ "::mlir::linalg::LinalgDialect",
45+ "::mlir::vector::VectorDialect",
46+ ];
47+ }
48+
49+ def CPUPhysicalRegisterPass : Pass<"CPU-physical-register-pass", "func::FuncOp"> {
50+ let summary = "Lower operation to cpu pysical register size.";
51+ let description = [{
52+ Physical register size lowering pass.
53+ }];
54+ let dependentDialects = [
55+ "::mlir::func::FuncDialect",
56+ "::mlir::math::MathDialect",
57+ "::mlir::arith::ArithDialect",
58+ "::mlir::tensor::TensorDialect",
59+ "::mlir::vector::VectorDialect",
60+ "::mlir::scf::SCFDialect",
61+ ];
62+ }
63+
3464#endif // GC_DIALECT_GC_PASSES
0 commit comments