!19642 move irpass.cast_eliminate to a_2

Merge pull request !19642 from huangbingjian/move_cast_1.3
This commit is contained in:
i-robot 2021-07-09 01:24:39 +00:00 committed by Gitee
commit c116292b74
1 changed files with 1 additions and 1 deletions

View File

@ -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_,