From 1c61911a96f50fe33e0ca165bdbdae750b094e51 Mon Sep 17 00:00:00 2001 From: huangbingjian Date: Thu, 8 Jul 2021 09:28:35 +0800 Subject: [PATCH] move irpass.cast_eliminate to a_2 --- mindspore/ccsrc/pipeline/jit/pass.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/pipeline/jit/pass.cc b/mindspore/ccsrc/pipeline/jit/pass.cc index 3cc4c0b15b6..69570ec1ee8 100644 --- a/mindspore/ccsrc/pipeline/jit/pass.cc +++ b/mindspore/ccsrc/pipeline/jit/pass.cc @@ -256,7 +256,6 @@ opt::OptPassConfig GetOptPassA1(const opt::irpass::OptimizeIRPassLib &irpass) { irpass.env_get_set_item_eliminate_, irpass.env_get_item_depend_swap_, - irpass.cast_eliminate_, irpass.reshape_eliminate_, irpass.reduce_eliminate_, irpass.tile_eliminate_, @@ -283,6 +282,7 @@ OptPassGroupMap GetOptPassesA(const opt::irpass::OptimizeIRPassLib &irpass) { opt::OptPassConfig a_1 = GetOptPassA1(irpass); opt::OptPassConfig a_2 = opt::OptPassConfig( { + irpass.cast_eliminate_, irpass.specialize_transform_, irpass.merge_addn_, irpass.float_tuple_getitem_switch_,