Skip to content

Commit 12dc357

Browse files
Update test with new IndexSwitchOp interface
1 parent 8547299 commit 12dc357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/test/python/ir/operation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ def testIndexSwitch():
12131213
def index_switch(index):
12141214
c1 = arith.constant(i32, 1)
12151215
switch_op = scf.IndexSwitchOp(
1216-
results_=[i32], arg=index, cases=range(3), num_caseRegions=3
1216+
results_=[i32], arg=index, cases=range(3)
12171217
)
12181218

12191219
assert len(switch_op.regions) == 4

0 commit comments

Comments
 (0)