This method is more suitable as an opinterface: it seems intrinsic to
individual instances of the operation instead of the dialect.
Also remove the restriction on the interface being applicable to the entry block only.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LG. The behavior change of allowing non-entry blocks also LGTM, no valid reason not to allow that IMO.
mlir/include/mlir/IR/OpAsmInterface.td | ||
---|---|---|
74 | ? Makes it a little more obvious. | |
mlir/include/mlir/IR/OpImplementation.h | ||
1353 | We also have getAsmResultNames nested in the dialect interface, should we just remove that now that dialects can provide fallback op interfaces (no need to resolve that in this patch)? | |
mlir/lib/IR/AsmPrinter.cpp | ||
1017 | ||
1017–1019 | The behavior change of allowing non-entry blocks is not captured in the patch description. |
? Makes it a little more obvious.