[Mlir-commits] [mlir] [NFC][mlir][emitc] fix misspelling in description of emitc.global (PR #115548)
Andrey Timonin
llvmlistbot at llvm.org
Fri Nov 8 13:59:22 PST 2024
https://github.com/EtoAndruwa updated https://github.com/llvm/llvm-project/pull/115548
>From b4d2c5dc5ec2999fa8a96a52b40164ced633b992 Mon Sep 17 00:00:00 2001
From: EtoAndruwa <timonina1909 at gmail.com>
Date: Sat, 9 Nov 2024 00:52:19 +0300
Subject: [PATCH] [NFC][mlir][emitc] fix misspelling in description of
emitc.global
---
mlir/include/mlir/Dialect/EmitC/IR/EmitC.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index 7c84ab4dd39eb7..91916c1c4493dd 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -1110,9 +1110,9 @@ def EmitC_GlobalOp : EmitC_Op<"global", [Symbol]> {
```mlir
// Global variable with an initial value.
- emitc.global @x : emitc.array<2xf32> = dense<0.0, 2.0>
+ emitc.global @x : !emitc.array<2xf32> = dense<0.0, 2.0>
// External global variable
- emitc.global extern @x : emitc.array<2xf32>
+ emitc.global extern @x : !emitc.array<2xf32>
// Constant global variable with internal linkage
emitc.global static const @x : i32 = 0
```
More information about the Mlir-commits
mailing list