Skip to content

Commit 7123b62

Browse files
committed
Remove unused function
1 parent e0fffe5 commit 7123b62

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

xdsl_smt/cli/superoptimize.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,6 @@ def register_all_arguments(arg_parser: argparse.ArgumentParser):
8484
)
8585

8686

87-
def replace_synth_with_constants(
88-
program: ModuleOp, values: list[IntegerAttr[IntegerType]]
89-
) -> None:
90-
synth_ops: list[synth.ConstantOp] = []
91-
for op in program.walk():
92-
if isinstance(op, synth.ConstantOp):
93-
synth_ops.append(op)
94-
95-
for op, value in zip(synth_ops, values):
96-
Rewriter.replace_op(op, hw.ConstantOp(value))
97-
98-
9987
def main() -> None:
10088
arg_parser = argparse.ArgumentParser()
10189
register_all_arguments(arg_parser)

0 commit comments

Comments
 (0)