Skip to content

Commit

Permalink
[NFC] fix E0606: Possibly using variable 'inst_type' before assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry Zhang Jian <[email protected]>
  • Loading branch information
jerryzj authored and kito-cheng committed Jun 7, 2024
1 parent 12183b8 commit 8853001
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def render(G, op_list, type_list, sew_list, lmul_list, decorator_list):
break
decorator.write_text_header(G)

inst_type = None
for args in prod(OP=op_list, TYPE=type_list, SEW=sew_list, LMUL=lmul_list):
type_helper = TypeHelper(**args)
if args["OP"] not in ["vundefined"]:
Expand Down

0 comments on commit 8853001

Please sign in to comment.