[Mlir-commits] [mlir] [mlir][EmitC] Add `verbatim` op (PR #79584)

Marius Brehler llvmlistbot at llvm.org
Wed Jan 31 00:16:34 PST 2024


================
@@ -544,6 +544,43 @@ def EmitC_VariableOp : EmitC_Op<"variable", []> {
   let hasVerifier = 1;
 }
 
+def EmitC_VerbatimOp : EmitC_Op<"verbatim"> {
+  let summary = "Verbatim operation";
+  let description = [{
+    The `verbatim` operation produces no results and the value is emitted as is
+    followed by a '\n' character during translation.
----------------
marbre wrote:

```suggestion
   followed by a line break  '\n' character during translation.
```

https://github.com/llvm/llvm-project/pull/79584


More information about the Mlir-commits mailing list