Skip to content

Commit

Permalink
[torch-mlir][sparse] add a few missing passes to the ref pipeline (#3265
Browse files Browse the repository at this point in the history
)

For some sparse programs (and I am sure other not-seen corner cases for
dense), some passes were missing in the reference pipeline, eventually
resulting in e.g. a unresolved unrealized cast issue. This PR adds some
very obvious missing passes to avoid this situation.
  • Loading branch information
aartbik authored Apr 30, 2024
1 parent 05f8b69 commit 9442c66
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def invoke(*args):
"func.func(tm-tensor-to-loops)",
"func.func(refback-munge-memref-copy)",
"func.func(convert-linalg-to-loops)",
"func.func(expand-realloc)",
"func.func(lower-affine)",
"convert-scf-to-cf",
"func.func(refback-expand-ops-for-llvm)",
Expand All @@ -193,6 +194,7 @@ def invoke(*args):
"convert-bufferization-to-memref",
"finalize-memref-to-llvm",
"func.func(convert-arith-to-llvm)",
"convert-vector-to-llvm",
"convert-func-to-llvm",
"convert-cf-to-llvm",
"convert-complex-to-llvm",
Expand Down

0 comments on commit 9442c66

Please sign in to comment.