From 11a908dd11415be7215b53aec1b092f3e4fe696c Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Tue, 20 Feb 2024 09:57:17 +0000 Subject: [PATCH] Update information in Func to EmitC --- README.md | 1 + docs/func-op-coverage.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbf159c1..f8aafb2d 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ The `emitc-opt` tool supports the following options: | option | | | :----------------------------------------- |:------------------------------------------------------------------------ | +| `--convert-func-to-emitc` | Convert Func dialect to EmitC dialect | | `--convert-scf-to-emitc` | Convert SCF dialect to EmitC dialect, maintaining structured control flow| | `--convert-stablehlo-region-ops-to-emitc ` | Convert StableHLO operations containing regions to EmitC dialect. | | `--convert-stablehlo-to-emitc ` | Convert from StableHLO dialect to EmitC dialect. | diff --git a/docs/func-op-coverage.md b/docs/func-op-coverage.md index f4a77719..1990491c 100644 --- a/docs/func-op-coverage.md +++ b/docs/func-op-coverage.md @@ -4,10 +4,19 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception --> # Func Op Coverage -The table below shows the supported func ops. +The table below shows the func ops, supported with the `--convert-func-to-emitc` **upstream** conversion. + +| op | supported | comment | +| :-------------------- |:------------------:| :------ | +| call | :heavy_check_mark: | | +| func | :heavy_check_mark: | | +| return | :heavy_check_mark: | | + +The table below shows the func ops, supported **upstream** via `--mlir-to-cpp` | op | supported | comment | | :-------------------- |:------------------:| :------ | | call | :white_check_mark: | via `emitc-translate` | | constant | :white_check_mark: | via `emitc-translate` | +| func | :white_check_mark: | via `emitc-translate` | | return | :white_check_mark: | via `emitc-translate` |