Skip to content

Commit 08f508a

Browse files
committed
update cpu pipeline
- do not bufferize func boudaries, we already use memrefs - add canonicalize before remove-temporaries - add deallocation pass
1 parent a8f9853 commit 08f508a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jit/mlir.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,10 @@ static const std::string cpu_pipeline =
688688
"arith-expand,"
689689
"memref-expand,"
690690
"func.func(empty-tensor-to-alloc-tensor),"
691-
"one-shot-bufferize{bufferize-function-boundaries},"
691+
"one-shot-bufferize,"
692+
"canonicalize,"
692693
"imex-remove-temporaries,"
694+
"func.func(buffer-deallocation),"
693695
"func.func(convert-linalg-to-parallel-loops),"
694696
"func.func(scf-parallel-loop-fusion),"
695697
"drop-regions,"

0 commit comments

Comments
 (0)