Skip to content

Commit b4d2c5d

Browse files
committed
[NFC][mlir][emitc] fix misspelling in description of emitc.global
1 parent 441b82b commit b4d2c5d

File tree

1 file changed

+2
-2
lines changed
  • mlir/include/mlir/Dialect/EmitC/IR

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,9 +1110,9 @@ def EmitC_GlobalOp : EmitC_Op<"global", [Symbol]> {
11101110

11111111
```mlir
11121112
// Global variable with an initial value.
1113-
emitc.global @x : emitc.array<2xf32> = dense<0.0, 2.0>
1113+
emitc.global @x : !emitc.array<2xf32> = dense<0.0, 2.0>
11141114
// External global variable
1115-
emitc.global extern @x : emitc.array<2xf32>
1115+
emitc.global extern @x : !emitc.array<2xf32>
11161116
// Constant global variable with internal linkage
11171117
emitc.global static const @x : i32 = 0
11181118
```

0 commit comments

Comments
 (0)