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 
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 