- This is just enough to create regions/blocks and iterate over them.
- Does not yet implement the preferred iteration strategy (python pseudo containers).
- Refinements need to come after doing basic mappings of operations and values so that the whole hierarchy can be used.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good, thanks
mlir/lib/Bindings/Python/IRModules.cpp | ||
---|---|---|
603 | this region? or Block and Region ? |
mlir/lib/Bindings/Python/IRModules.cpp | ||
---|---|---|
625 | Hmm, didn't we want to make regions/blocks iterable with pseudo-containers, like for block in region.blocks ? |
nit: Can you drop the trivial braces here and below?