forked from google/heir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Passes.td
22 lines (17 loc) · 829 Bytes
/
Passes.td
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef INCLUDE_DIALECT_CGGI_TRANSFORMS_PASSES_TD_
#define INCLUDE_DIALECT_CGGI_TRANSFORMS_PASSES_TD_
include "mlir/Pass/PassBase.td"
def SetDefaultParameters : Pass<"cggi-set-default-parameters"> {
let summary = "Set default parameters for CGGI ops";
let description = [{
This pass adds default parameters to all CGGI ops as `cggi_params` named
attributes, overriding any existing attribute set with that name.
This pass is primarily for testing purposes, and as a parameter provider
before a proper parameter selection mechanism is added. This pass should not
be used in production.
The specific parameters are hard-coded in
`lib/Dialect/CGGI/Transforms/SetDefaultParameters.cpp`.
}];
let dependentDialects = ["mlir::heir::cggi::CGGIDialect"];
}
#endif // INCLUDE_DIALECT_CGGI_TRANSFORMS_PASSES_TD_