mirror of https://github.com/llvm/torch-mlir
[torch-mlir][sparse] add a few missing passes to the ref pipeline (#3265)
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.pull/3269/head
parent
05f8b69bf6
commit
9442c66856
|
@ -180,6 +180,7 @@ LOWERING_PIPELINE = (
|
|||
"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)",
|
||||
|
@ -193,6 +194,7 @@ LOWERING_PIPELINE = (
|
|||
"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",
|
||||
|
|
Loading…
Reference in New Issue