use ReduceSimplify2 only

This commit is contained in:
lingyunli63 2021-04-21 12:49:39 +08:00
parent ba5b751418
commit b3fb5897dd
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ AnfNodePtr SimplifyReduce3(const AnfNodePtr &node) {
}
AnfNodePtr TrySimplify(const AnfNodePtr &node) {
std::list<std::function<AnfNodePtr(const AnfNodePtr &)>> SimplifyFuncList = {SimplifyReduce1};
std::list<std::function<AnfNodePtr(const AnfNodePtr &)>> SimplifyFuncList = {SimplifyReduce2};
for (auto f : SimplifyFuncList) {
auto ret = f(node);
if (ret != nullptr) {