Skip to content

Commit 09c0efb

Browse files
committed
Arm backend: Promote InsertDataLayoutCastsPass up pass list
* Move above Aten -> TOSA transforms to ensure dtypes are valid Signed-off-by: Tom Allsop <tom.allsop@arm.com> Change-Id: I021289f51f75e1a303050d0ffcf3b939f67ee88f
1 parent 1debeb6 commit 09c0efb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backends/arm/_passes/arm_pass_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ def _tosa_pipeline(
526526
DecomposeSumPass(),
527527
InsertTableOpsPass(exported_program),
528528
RemoveNoopPass(),
529+
InsertDataLayoutCastsPass(),
529530
]
530531
)
531532

@@ -558,7 +559,6 @@ def _tosa_pipeline(
558559
EnsureUniqueOutputNodesPass(),
559560
RemoveNoopPass(),
560561
InsertRescalePass(),
561-
InsertDataLayoutCastsPass(),
562562
]
563563
)
564564

0 commit comments

Comments
 (0)