Skip to content

Commit

Permalink
Update convert_dataflow_to_func pass pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchenye committed Apr 3, 2024
1 parent 0abe5b1 commit 76fda5b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions python/scalehls/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,17 @@ def apply_convert_dataflow_to_func_passes(module: Module):
pm = PassManager.parse(
"builtin.module("
"func.func("
"scalehls-generate-directives,"
"convert-linalg-to-loops,"
"fold-memref-alias-ops,"
"scalehls-raise-scf-to-affine,"
"convert-linalg-to-affine-loops,"
"affine-loop-normalize,"
"affine-simplify-structures"
"affine-simplify-structures,"
"scalehls-apply-directives,"
"affine-scalrep"
"),"
"fold-memref-alias-ops,"
"scalehls-convert-dataflow-to-func,"
# "buffer-results-to-out-params,"
"cse, canonicalize"
")")
pm.run(module.operation)
Expand Down

0 comments on commit 76fda5b

Please sign in to comment.