HomePhabricator

[mlir] Add EmitC dialect

Authored by marbre on Jun 9 2021, 6:38 AM.

Description

[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@google.com>
Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de>
Co-authored-by: Oliver Scherf <oliver.scherf@iml.fraunhofer.de>

Reviewed By: rriddle

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

Details

Committed
marbreJun 19 2021, 12:51 AM
Reviewer
rriddle
Differential Revision
D103969: [mlir] Add EmitC dialect
Parents
rG1bd4085e0bbc: [LoopUnroll] Push runtime unrolling decision up into tryToUnrollLoop()
Branches
Unknown
Tags
Unknown