Getting the body of a Module is a common need which justifies a
dedicated accessor instead of forcing users to go through the
region->blocks->front unwrapping manually.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D90287
Add a `mlirModuleGetBody()` accessor to the C API and bind it in Python ClosedPublic Authored by mehdi_amini on Oct 27 2020, 10:58 PM.
Details Summary Getting the body of a Module is a common need which justifies a
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptOct 27 2020, 10:58 PM This revision is now accepted and ready to land.Oct 28 2020, 2:03 AM This revision was landed with ongoing or failed builds.Oct 28 2020, 10:54 AM Closed by commit rG72023442c1eb: Add a `mlirModuleGetBody()` accessor to the C API and bind it in Python (authored by mehdi_amini). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 301336 mlir/include/mlir-c/IR.h
mlir/lib/Bindings/Python/IRModules.cpp
mlir/lib/CAPI/IR/IR.cpp
mlir/test/Bindings/Python/dialects.py
mlir/test/CAPI/ir.c
|