| Issue |
53370
|
| Summary |
Builtin is ModuleOp privileged by translations
|
| Labels |
mlir:core
|
| Assignees |
|
| Reporter |
lattner
|
There is a general goal to move to allow "custom" top level operations instead of require builtin.ModularOp, but the translation infrastructure hard codes ModuleOp, e.g. in:
```
/// Interface of the function that translates MLIR to a different format and
/// outputs the result to a stream. It is allowed to modify the module.
using TranslateFromMLIRFunction =
std::function<LogicalResult(ModuleOp, llvm::raw_ostream &output)>;
```
It would be nice to move towards just using Operation* here or something.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs