Skip to content

Commit 453d127

Browse files
committed
[mlir][emitc] Fix op's description
1 parent 626ed80 commit 453d127

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,8 @@ def EmitC_SwitchOp : EmitC_Op<"switch", [RecursiveMemoryEffects,
13111311
let description = [{
13121312
The `emitc.switch` is a control-flow operation that branches to one of
13131313
the given regions based on the values of the argument and the cases.
1314-
The operand to a switch operation is a opaque or integral value.
1314+
The operand to a switch operation is a opaque, integral or pointer
1315+
wide types.
13151316

13161317
The operation always has a "default" region and any number of case regions
13171318
denoted by integer constants. Control-flow transfers to the case region

0 commit comments

Comments
 (0)