Skip to content

Commit

Permalink
remove some more prints
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendumoulin committed Oct 31, 2023
1 parent c8973f1 commit bca4fc7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler/transforms/allocate_elementwise_mult.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,11 @@ class AddExternalFunc(RewritePattern):
@op_type_rewrite_pattern
def match_and_rewrite(self, module: builtin.ModuleOp, rewriter: PatternRewriter):
for op in module.walk():
print(op)
if not isinstance(op, func.Call):
continue
if "snax_hwpe" not in op.callee.string_value():
continue

print("inserting")

rewriter.insert_op_at_end(
func.FuncOp.external(
op.callee.string_value(),
Expand Down

0 comments on commit bca4fc7

Please sign in to comment.