[all-commits] [llvm/llvm-project] 876de0: [mlir] Add EmitC dialect

Marius Brehler via All-commits all-commits at lists.llvm.org
Sat Jun 19 00:53:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 876de062f94650f9ded56a22b062236f711fcd18
      https://github.com/llvm/llvm-project/commit/876de062f94650f9ded56a22b062236f711fcd18
  Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/CMakeLists.txt
    A mlir/include/mlir/Dialect/EmitC/CMakeLists.txt
    A mlir/include/mlir/Dialect/EmitC/IR/CMakeLists.txt
    A mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
    A mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    A mlir/include/mlir/Dialect/EmitC/IR/EmitCAttributes.td
    A mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
    A mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/CMakeLists.txt
    A mlir/lib/Dialect/EmitC/CMakeLists.txt
    A mlir/lib/Dialect/EmitC/IR/CMakeLists.txt
    A mlir/lib/Dialect/EmitC/IR/EmitC.cpp
    A mlir/test/Dialect/EmitC/invalid_ops.mlir
    A mlir/test/Dialect/EmitC/ops.mlir
    A mlir/test/Dialect/EmitC/types.mlir
    M mlir/test/mlir-opt/commandline.mlir

  Log Message:
  -----------
  [mlir] Add EmitC dialect

This upstreams the EmitC dialect and the corresponding Cpp target, both
initially presented with [1], from [2] to MLIR core. For the related
discussion, see [3].

[1] https://reviews.llvm.org/D76571
[2] https://github.com/iml130/mlir-emitc
[3] https://llvm.discourse.group/t/emitc-generating-c-c-from-mlir/3388

Co-authored-by: Jacques Pienaar <jpienaar at google.com>
Co-authored-by: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Co-authored-by: Oliver Scherf <oliver.scherf at iml.fraunhofer.de>

Reviewed By: rriddle

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




More information about the All-commits mailing list