This lets users of FunctionOpInterface finally have the
name/visibility accessors from SymbolOpInterface. This also
lets us remove the clunky "getName" method from FunctionOpInterface.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/IR/FunctionInterfaces.td | ||
---|---|---|
17 | I'd include both of these rather than rely on transitivity (tblgen side I try to keep things dead simple, and while good to keep things minimal, explicit is less surprising). |
mlir/include/mlir/IR/FunctionInterfaces.td | ||
---|---|---|
17 | Why? I don't follow that anywhere else in tablegen, and it also breaks from our existing C++ coding style. |
I'd include both of these rather than rely on transitivity (tblgen side I try to keep things dead simple, and while good to keep things minimal, explicit is less surprising).