提交 7a420605 authored 作者: Frederic's avatar Frederic

Ignore new trees. This isn't needed as we don't add new node anyway

上级 4f54466f
...@@ -5516,7 +5516,7 @@ def constant_folding(node): ...@@ -5516,7 +5516,7 @@ def constant_folding(node):
return rval return rval
topo_constant_folding = in2out(constant_folding, ignore_newtrees=False, topo_constant_folding = in2out(constant_folding, ignore_newtrees=True,
name="topo_constant_folding") name="topo_constant_folding")
register_canonicalize(topo_constant_folding, 'fast_compile', final_opt=True) register_canonicalize(topo_constant_folding, 'fast_compile', final_opt=True)
register_stabilize(topo_constant_folding, 'fast_compile', final_opt=True) register_stabilize(topo_constant_folding, 'fast_compile', final_opt=True)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论