Okay, I've implemented these APIs and converted a couple of passes to use them, please take a look and review. https://github.com/apache/incubator-tvm/pull/4886
@haichen @MarisaKirisame I'm noticing that the passes with these edge cases all seem to be doing more complicated things than the simple post-order DFS targeted here. I'm still looking at them, but I think that should be a second PR? Thanks for all of the feedback! --- [Visit Topic](https://discuss.tvm.ai/t/performing-relay-passes-non-recursively/5696/20) 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/f22ece86d2cf38e4b040e62823190972ac4e01066a3294954eaa7d3555caeb0b).