Skip to content

Commit cf88e69

Browse files
committed
[NFC][mlir][emitc] fix wrong usage of 'dense' in the description
1 parent b4d2c5d commit cf88e69

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ 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>
11141114
// External global variable
11151115
emitc.global extern @x : !emitc.array<2xf32>
11161116
// Constant global variable with internal linkage

0 commit comments

Comments
 (0)