[Mlir-commits] [mlir] [mlir][EmitC] Fix type in example (PR #85205)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Mar 14 04:10:06 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-emitc
Author: Marius Brehler (marbre)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/85205.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td (+1-1)
``````````diff
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>
```
}];
``````````
</details>
https://github.com/llvm/llvm-project/pull/85205
More information about the Mlir-commits
mailing list