Move mlp and sese stuff into a separate compiler pass