IIRC we made some immutability assumptions here that the passes won't modify the original `IRModule`. We did find some bugs in the codebase previously the module is incorrectly modified though :-(
--- [Visit Topic](https://discuss.tvm.apache.org/t/how-to-efficiently-copy-an-ir/10798/5) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/0aa6af2c7ee510f0e5d38fbd4c7fc7f7cde4360beb41e9ee5411d797fbfd9728).