diff options
author | Nikhil Kalra <nkalra@apple.com> | 2025-02-24 17:51:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 17:51:49 -0800 |
commit | a60e8a2c2579252d66a0656c387af29475e9b908 (patch) | |
tree | a655d270c74ab78eb28828e1dd9d1e8e3dfd09f4 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 62ec7b8de97a197c2522177a52bdc78205579930 (diff) | |
download | llvm-a60e8a2c2579252d66a0656c387af29475e9b908.zip llvm-a60e8a2c2579252d66a0656c387af29475e9b908.tar.gz llvm-a60e8a2c2579252d66a0656c387af29475e9b908.tar.bz2 |
[mlir] Python: write bytecode to a file path (#127118)
The current `write_bytecode` implementation necessarily requires the
serialized module to be duplicated in memory when the python `bytes`
object is created and sent over the binding. For modules with large
resources, we may want to avoid this in-memory copy by serializing
directly to a file instead of sending bytes across the boundary.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions