[all-commits] [llvm/llvm-project] 89418d: Plumb write_bytecode to the Python API
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Mon Sep 5 05:02:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89418ddcb50034bbd8f631cbd71514721576426d
https://github.com/llvm/llvm-project/commit/89418ddcb50034bbd8f631cbd71514721576426d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2022-09-05 (Mon, 05 Sep 2022)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/CAPI/IR/CMakeLists.txt
M mlir/lib/CAPI/IR/IR.cpp
M mlir/test/python/ir/operation.py
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Plumb write_bytecode to the Python API
This adds a `write_bytecode` method to the Operation class.
The method takes a file handle and writes the binary blob to it.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D133210
More information about the All-commits
mailing list