diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-10-28 05:57:17 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-10-28 17:53:52 +0000 |
commit | 72023442c1eb3169389f469d4b804aff93497758 (patch) | |
tree | 017f3efeac38a1fc4e5c98b08b860e2b71ddb14b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7011a2f3504b43e57eda5dbc1f23a3f9c1b44593 (diff) | |
download | llvm-72023442c1eb3169389f469d4b804aff93497758.zip llvm-72023442c1eb3169389f469d4b804aff93497758.tar.gz llvm-72023442c1eb3169389f469d4b804aff93497758.tar.bz2 |
Add a `mlirModuleGetBody()` accessor to the C API and bind it in Python
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.
Differential Revision: https://reviews.llvm.org/D90287
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions