[Mlir-commits] [mlir] [mlir][EmitC] Fix type in example (PR #85205)

Marius Brehler llvmlistbot at llvm.org
Thu Mar 14 04:09:34 PDT 2024


https://github.com/marbre created https://github.com/llvm/llvm-project/pull/85205

None

>From dcfeee7345ca3c325c7b90c7b725e2e9ee72e0ef Mon Sep 17 00:00:00 2001
From: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: Thu, 14 Mar 2024 11:07:42 +0000
Subject: [PATCH] [mlir][EmitC] Fix type in example

---
 mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
index 1ff41022eba8c9..a2ba45a1f6a12b 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
@@ -39,7 +39,7 @@ def EmitC_ArrayType : EmitC_Type<"Array", "array", [ShapedTypeInterface]> {
     // Array emitted as `int32_t[10]`
     !emitc.array<10xi32>
     // Array emitted as `float[10][20]`
-    !emitc.ptr<10x20xf32>
+    !emitc.array<10x20xf32>
     ```
   }];
 



More information about the Mlir-commits mailing list