Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
math-fehr committed Dec 17, 2023
1 parent c7369c4 commit 38ff69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdsl_pdl/fuzzing/generate_pdl_rewrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def generate_unverified_random_pdl_rewrite() -> PatternOp:
body = Region([Block(matched_ops + [rewrite])])
return PatternOp(1, None, body)


def generate_random_pdl_rewrite() -> PatternOp:
while True:
pattern = generate_unverified_random_pdl_rewrite()
Expand All @@ -199,4 +200,3 @@ def generate_random_pdl_rewrite() -> PatternOp:
except Exception:
continue
return pattern

0 comments on commit 38ff69f

Please sign in to comment.