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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Mar 14 04:12:07 PDT 2024


Author: Marius Brehler
Date: 2024-03-14T12:12:03+01:00
New Revision: a82ca398ce30c499adf73fdd200352714d9867d0

URL: https://github.com/llvm/llvm-project/commit/a82ca398ce30c499adf73fdd200352714d9867d0
DIFF: https://github.com/llvm/llvm-project/commit/a82ca398ce30c499adf73fdd200352714d9867d0.diff

LOG: [mlir][EmitC] Fix type in example (#85205)

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td

Removed: 
    


################################################################################
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