[Mlir-commits] [mlir] [NFC][scf] Fix error in example for 'IndexSwitchOp' (PR #102628)
Andrey Timonin
llvmlistbot at llvm.org
Mon Aug 12 02:10:59 PDT 2024
https://github.com/EtoAndruwa updated https://github.com/llvm/llvm-project/pull/102628
>From afce2e75819d068f4ffbcf417b22a3dcae3c8483 Mon Sep 17 00:00:00 2001
From: EtoAndruwa <timonina1909 at gmail.com>
Date: Fri, 9 Aug 2024 18:09:47 +0300
Subject: [PATCH] [NFC][scf] Fix error in example for 'IndexSwitchOp'
---
mlir/include/mlir/Dialect/SCF/IR/SCFOps.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
index 847040466a85fd..7aa73cf808c9d1 100644
--- a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
+++ b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
@@ -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
case 2 {
%1 = arith.constant 10 : i32
scf.yield %1 : i32
More information about the Mlir-commits
mailing list