未验证 提交 6760d737 编写于 作者: W wenbin 提交者: GitHub

miss if (#33513)

上级 ebe24e62
...@@ -303,7 +303,9 @@ static void DisablePrepareDataOpt( ...@@ -303,7 +303,9 @@ static void DisablePrepareDataOpt(
disable_opt || pre_disable_opt); disable_opt || pre_disable_opt);
} }
// disable prepare data if unfriendly op is found // disable prepare data if unfriendly op is found
disable_opt = IsPrepareDataOptTargetOp(op); if (!disable_opt) {
disable_opt = IsPrepareDataOptTargetOp(op);
}
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册