[Mlir-commits] [mlir] 36895cd - [mlir] Update EmitC documentation
Marius Brehler
llvmlistbot at llvm.org
Fri Sep 3 08:24:17 PDT 2021
Author: Marius Brehler
Date: 2021-09-03T15:23:55Z
New Revision: 36895cd8d83f4333bcdd9ac02793be5468ff21cd
URL: https://github.com/llvm/llvm-project/commit/36895cd8d83f4333bcdd9ac02793be5468ff21cd
DIFF: https://github.com/llvm/llvm-project/commit/36895cd8d83f4333bcdd9ac02793be5468ff21cd.diff
LOG: [mlir] Update EmitC documentation
Added:
Modified:
mlir/docs/Dialects/emitc.md
Removed:
################################################################################
diff --git a/mlir/docs/Dialects/emitc.md b/mlir/docs/Dialects/emitc.md
index 044120b18806b..515021bd5e2ea 100644
--- a/mlir/docs/Dialects/emitc.md
+++ b/mlir/docs/Dialects/emitc.md
@@ -16,9 +16,9 @@ These restrictions are neither inherent to the EmitC dialect itself nor to the
Cpp emitter and therefore need to be considered while implementing conversions.
After the conversion, C/C++ code can be emitted with `mlir-translate`. The tool
-support translating MLIR to C/C++ by passing `-mlir-to-cpp`.
+supports translating MLIR to C/C++ by passing `-mlir-to-cpp`.
Furthermore, code with variables declared at top can be generated by passing
-`-mlir-to-cpp-with-variable-declarations-at-top`.
+the additional argument `-declare-variables-at-top`.
Besides operations part of the EmitC dialect, the Cpp targets supports
translating the following operations:
More information about the Mlir-commits
mailing list