@@ -50,7 +50,7 @@ def AssertOp : CF_Op<"assert",
5050 Example:
5151
5252 ```mlir
53- assert %b, "Expected ... to be true"
53+ cf. assert %b, "Expected ... to be true"
5454 ```
5555 }];
5656
@@ -118,7 +118,7 @@ def CondBranchOp : CF_Op<"cond_br",
118118 Pure, Terminator]> {
119119 let summary = "conditional branch operation";
120120 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
122122 boolean (1-bit integer) value. If the bit is set, then the first destination
123123 is jumped to; if it is false, the second destination is chosen. The count
124124 and types of operands must align with the arguments in the corresponding
@@ -136,7 +136,7 @@ def CondBranchOp : CF_Op<"cond_br",
136136 ```mlir
137137 func.func @select(%a: i32, %b: i32, %flag: i1) -> i32 {
138138 // 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)
140140
141141 ^bb1(%x : i32) :
142142 return %x : i32
@@ -233,7 +233,7 @@ def SwitchOp : CF_Op<"switch",
233233 Pure, Terminator]> {
234234 let summary = "switch operation";
235235 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
237237 value. If the flag matches one of the specified cases, then the
238238 corresponding destination is jumped to. If the flag does not match any of
239239 the cases, the default destination is jumped to. The count and types of
@@ -242,7 +242,7 @@ def SwitchOp : CF_Op<"switch",
242242 Example:
243243
244244 ```mlir
245- switch %flag : i32, [
245+ cf. switch %flag : i32, [
246246 default: ^bb1(%a : i32),
247247 42: ^bb1(%b : i32),
248248 43: ^bb3(%c : i32)
0 commit comments