[all-commits] [llvm/llvm-project] 74f577: [mlir] expose standard types to C API

ftynse via All-commits all-commits at lists.llvm.org
Tue Aug 18 04:12:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 74f577845e8174e255688589d845d43eacf3923f
      https://github.com/llvm/llvm-project/commit/74f577845e8174e255688589d845d43eacf3923f
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M mlir/docs/CAPI.md
    A mlir/include/mlir-c/AffineMap.h
    M mlir/include/mlir-c/IR.h
    A mlir/include/mlir-c/StandardTypes.h
    A mlir/include/mlir/CAPI/AffineMap.h
    A mlir/include/mlir/CAPI/IR.h
    A mlir/include/mlir/CAPI/Wrap.h
    M mlir/include/mlir/IR/AffineMap.h
    A mlir/lib/CAPI/IR/AffineMap.cpp
    M mlir/lib/CAPI/IR/CMakeLists.txt
    M mlir/lib/CAPI/IR/IR.cpp
    A mlir/lib/CAPI/IR/StandardTypes.cpp
    M mlir/test/CAPI/ir.c

  Log Message:
  -----------
  [mlir] expose standard types to C API

Provide C API for MLIR standard types. Since standard types live under lib/IR
in core MLIR, place the C APIs in the IR library as well (standard ops will go
into a separate library). This also defines a placeholder for affine maps that
are necessary to construct a memref, but are not yet exposed to the C API.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list