[all-commits] [llvm/llvm-project] 2f0750: [mlir] Add Cpp emitter
Marius Brehler via All-commits
all-commits at lists.llvm.org
Thu Sep 2 06:55:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f0750dd2ec09b39ee3f05b4be73b14fce8828b3
https://github.com/llvm/llvm-project/commit/2f0750dd2ec09b39ee3f05b4be73b14fce8828b3
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2021-09-02 (Thu, 02 Sep 2021)
Changed paths:
A mlir/docs/Dialects/emitc.md
M mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
M mlir/include/mlir/InitAllTranslations.h
A mlir/include/mlir/Target/Cpp/CppEmitter.h
M mlir/lib/Target/CMakeLists.txt
A mlir/lib/Target/Cpp/CMakeLists.txt
A mlir/lib/Target/Cpp/TranslateRegistration.cpp
A mlir/lib/Target/Cpp/TranslateToCpp.cpp
A mlir/test/Target/Cpp/call.mlir
A mlir/test/Target/Cpp/common-cpp.mlir
A mlir/test/Target/Cpp/const.mlir
A mlir/test/Target/Cpp/control_flow.mlir
A mlir/test/Target/Cpp/for.mlir
A mlir/test/Target/Cpp/if.mlir
A mlir/test/Target/Cpp/invalid.mlir
A mlir/test/Target/Cpp/stdops.mlir
Log Message:
-----------
[mlir] Add Cpp emitter
This upstreams the Cpp emitter, initially presented with [1], from [2]
to MLIR core. Together with the previously upstreamed EmitC dialect [3],
the target allows to translate MLIR to C/C++.
[1] https://reviews.llvm.org/D76571
[2] https://github.com/iml130/mlir-emitc
[3] https://reviews.llvm.org/D103969
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: jpienaar
Differential Revision: https://reviews.llvm.org/D104632
More information about the All-commits
mailing list