@@ -50,7 +50,7 @@ def AssertOp : CF_Op<"assert",
50
50
Example:
51
51
52
52
```mlir
53
- assert %b, "Expected ... to be true"
53
+ cf. assert %b, "Expected ... to be true"
54
54
```
55
55
}];
56
56
@@ -118,7 +118,7 @@ def CondBranchOp : CF_Op<"cond_br",
118
118
Pure, Terminator]> {
119
119
let summary = "conditional branch operation";
120
120
let description = [{
121
- The `cond_br` terminator operation represents a conditional branch on a
121
+ The `cf. cond_br` terminator operation represents a conditional branch on a
122
122
boolean (1-bit integer) value. If the bit is set, then the first destination
123
123
is jumped to; if it is false, the second destination is chosen. The count
124
124
and types of operands must align with the arguments in the corresponding
@@ -136,7 +136,7 @@ def CondBranchOp : CF_Op<"cond_br",
136
136
```mlir
137
137
func.func @select(%a: i32, %b: i32, %flag: i1) -> i32 {
138
138
// Both targets are the same, operands differ
139
- cond_br %flag, ^bb1(%a : i32), ^bb1(%b : i32)
139
+ cf. cond_br %flag, ^bb1(%a : i32), ^bb1(%b : i32)
140
140
141
141
^bb1(%x : i32) :
142
142
return %x : i32
@@ -233,7 +233,7 @@ def SwitchOp : CF_Op<"switch",
233
233
Pure, Terminator]> {
234
234
let summary = "switch operation";
235
235
let description = [{
236
- The `switch` terminator operation represents a switch on a signless integer
236
+ The `cf. switch` terminator operation represents a switch on a signless integer
237
237
value. If the flag matches one of the specified cases, then the
238
238
corresponding destination is jumped to. If the flag does not match any of
239
239
the cases, the default destination is jumped to. The count and types of
@@ -242,7 +242,7 @@ def SwitchOp : CF_Op<"switch",
242
242
Example:
243
243
244
244
```mlir
245
- switch %flag : i32, [
245
+ cf. switch %flag : i32, [
246
246
default: ^bb1(%a : i32),
247
247
42: ^bb1(%b : i32),
248
248
43: ^bb3(%c : i32)
0 commit comments