To be honest, among C0-C3 I wouldn't not want to introduce ANF to codegen. This 
means we either want to do ANF on the whole program or run the pass internally 
in the extern codegen to convert it. If we run it on the whole program, I think 
some passes that work on the DFG would not work well/or break. If we invoke it 
internally, we would want developers to be aware of this and perform this 
conversion explicitly.

Actually, I also didn't see how much help non-recursive form would bring us 
here as these ASTs are usually simple (at least the ones we currently use), 
i.e. only some nodes need to be handled. It looks that MixedModeVisitor would 
need to do similar things. I may miss something here because I haven't used 
MixedModeVisitor yet.





---
[Visit 
Topic](https://discuss.tvm.ai/t/missing-memoization-in-exprfunctor/6334/13) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/b6ea2617d2318ef91102148dd1c85de81522a5e84cf63232d5b6d060a175e8e2).

Reply via email to