[all-commits] [llvm/llvm-project] b76f52: [mlir] expose affine map to C API
zhanghb97 via All-commits
all-commits at lists.llvm.org
Wed Sep 16 18:51:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b76f523be6ea606d9cf494e247546cec1cd7f209
https://github.com/llvm/llvm-project/commit/b76f523be6ea606d9cf494e247546cec1cd7f209
Author: zhanghb97 <zhanghb97 at 126.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M mlir/include/mlir-c/AffineMap.h
A mlir/include/mlir/CAPI/Utils.h
M mlir/lib/CAPI/IR/AffineMap.cpp
M mlir/lib/CAPI/IR/IR.cpp
M mlir/test/CAPI/ir.c
Log Message:
-----------
[mlir] expose affine map to C API
This patch provides C API for MLIR affine map.
- Implement C API for AffineMap class.
- Add Utils.h to include/mlir/CAPI/, and move the definition of the CallbackOstream to Utils.h to make sure mlirAffineMapPrint work correct.
- Add TODO for exposing the C API related to AffineExpr and mutable affine map.
Differential Revision: https://reviews.llvm.org/D87617
More information about the All-commits
mailing list