We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12dc357 commit ee73bddCopy full SHA for ee73bdd
mlir/test/python/ir/operation.py
@@ -1212,9 +1212,7 @@ def testIndexSwitch():
1212
@func.FuncOp.from_py_func(T.index())
1213
def index_switch(index):
1214
c1 = arith.constant(i32, 1)
1215
- switch_op = scf.IndexSwitchOp(
1216
- results_=[i32], arg=index, cases=range(3)
1217
- )
+ switch_op = scf.IndexSwitchOp(results_=[i32], arg=index, cases=range(3))
1218
1219
assert len(switch_op.regions) == 4
1220
assert len(switch_op.regions[2:]) == 2
0 commit comments