forked from mindspore-Ecosystem/mindspore
!19642 move irpass.cast_eliminate to a_2
Merge pull request !19642 from huangbingjian/move_cast_1.3
This commit is contained in:
commit
c116292b74
|
@ -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_,
|
||||
|
|
Loading…
Reference in New Issue