[all-commits] [llvm/llvm-project] 321aa1: [mlir] Expose printing functions in C API
ftynse via All-commits
all-commits at lists.llvm.org
Wed Aug 12 04:07:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 321aa19ec8ede62325b7e07d3fef4d12859275ab
https://github.com/llvm/llvm-project/commit/321aa19ec8ede62325b7e07d3fef4d12859275ab
Author: Alex Zinenko <zinenko at google.com>
Date: 2020-08-12 (Wed, 12 Aug 2020)
Changed paths:
M mlir/docs/CAPI.md
M mlir/include/mlir-c/IR.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/test/CAPI/ir.c
Log Message:
-----------
[mlir] Expose printing functions in C API
Provide printing functions for most IR objects in C API (except Region that
does not have a `print` function, and Module that is expected to be printed as
Operation instead). The printing is based on a callback that is called with
chunks of the string representation and forwarded user-defined data.
Reviewed By: stellaraccident, Jing, mehdi_amini
Differential Revision: https://reviews.llvm.org/D85748
More information about the All-commits
mailing list