[Mlir-commits] [mlir] [NFC][scf] Fix error in example for 'IndexSwitchOp' (PR #102628)
Mehdi Amini
llvmlistbot at llvm.org
Sat Aug 10 00:58:51 PDT 2024
================
@@ -1121,7 +1121,7 @@ def IndexSwitchOp : SCF_Op<"index_switch", [RecursiveMemoryEffects,
Example:
```mlir
- %0 = scf.index_switch %arg0 : index -> i32
+ %0 = scf.index_switch %arg0 -> i32
----------------
joker-eph wrote:
Seems like it's not following the usual convention, if we only print the result/operand we should use `:`, like below in: `arith.constant 10 : i32` and `scf.yield %1 : i32`. Can we fix this instead?
https://github.com/llvm/llvm-project/pull/102628
More information about the Mlir-commits
mailing list