[all-commits] [llvm/llvm-project] 448f25: [mlir] Expose affine expression to C API

zhanghb97 via All-commits all-commits at lists.llvm.org
Fri Oct 23 05:07:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 448f25c86b79aebae90718938b6a2cb4c782e57d
      https://github.com/llvm/llvm-project/commit/448f25c86b79aebae90718938b6a2cb4c782e57d
  Author: zhanghb97 <hongbin2019 at iscas.ac.cn>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    A mlir/include/mlir-c/AffineExpr.h
    A mlir/include/mlir/CAPI/AffineExpr.h
    M mlir/include/mlir/IR/AffineExpr.h
    A mlir/lib/CAPI/IR/AffineExpr.cpp
    M mlir/lib/CAPI/IR/CMakeLists.txt
    M mlir/test/CAPI/ir.c

  Log Message:
  -----------
  [mlir] Expose affine expression to C API

This patch provides C API for MLIR affine expression.
- Implement C API for methods of AffineExpr class.
- Implement C API for methods of derived classes (AffineBinaryOpExpr, AffineDimExpr, AffineSymbolExpr, and AffineConstantExpr).

Differential Revision: https://reviews.llvm.org/D89856




More information about the All-commits mailing list