Skip to content

Commit ee73bdd

Browse files
Format
1 parent 12dc357 commit ee73bdd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlir/test/python/ir/operation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,9 +1212,7 @@ def testIndexSwitch():
12121212
@func.FuncOp.from_py_func(T.index())
12131213
def index_switch(index):
12141214
c1 = arith.constant(i32, 1)
1215-
switch_op = scf.IndexSwitchOp(
1216-
results_=[i32], arg=index, cases=range(3)
1217-
)
1215+
switch_op = scf.IndexSwitchOp(results_=[i32], arg=index, cases=range(3))
12181216

12191217
assert len(switch_op.regions) == 4
12201218
assert len(switch_op.regions[2:]) == 2

0 commit comments

Comments
 (0)