diff options
author | Jacques Pienaar <jpienaar@google.com> | 2023-11-13 10:21:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 10:21:21 -0800 |
commit | 204acc5c1080d101ea5d96374b8cc54e876cc192 (patch) | |
tree | 6d9915479a998c10b314fe9687545bd319134dd2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ad20a9e1a15d1694f7ab3d878bcfaab3d52c5abf (diff) | |
download | llvm-204acc5c1080d101ea5d96374b8cc54e876cc192.zip llvm-204acc5c1080d101ea5d96374b8cc54e876cc192.tar.gz llvm-204acc5c1080d101ea5d96374b8cc54e876cc192.tar.bz2 |
[mlir][py] Overload print with state. (#72064)
Enables reusing the AsmState when printing from Python. Also moves the
fileObject and binary to the end (pybind11::object was resulting in the
overload not working unless `state=` was specified).
---------
Co-authored-by: Maksim Levental <maksim.levental@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions