Skip to content

Commit 351815f

Browse files
Arm backend: Update pass name in arm_aot_compiler (#15916)
quck-fix after #15896 cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai Signed-off-by: Adrian Lundell <[email protected]>
1 parent 213d24c commit 351815f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/arm/aot_arm_compiler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
from executorch.backends.arm.vgf import VgfCompileSpec
3636

3737
# To use Cortex-M backend
38-
from executorch.backends.cortex_m.passes.quantized_linear_fusion_pass import (
39-
QuantizedLinearFusionPass,
38+
from executorch.backends.cortex_m.passes.convert_to_cortex_m_pass import (
39+
ConvertToCortexMPass,
4040
)
4141

4242
from executorch.backends.cortex_m.passes.quantized_op_fusion_pass import (
@@ -795,7 +795,7 @@ def transform_for_cortex_m_backend(edge_program_manager, args):
795795
# Instantiate the mandatory ReplaceQuantNodesPass
796796
passes = [ReplaceQuantNodesPass]
797797
if args.enable_qdq_fusion_pass:
798-
passes += [QuantizedLinearFusionPass, QuantizedOpFusionPass]
798+
passes += [ConvertToCortexMPass, QuantizedOpFusionPass]
799799
current_edge = edge_program_manager
800800
for pass_cls in passes:
801801
transform_pass = (

0 commit comments

Comments
 (0)