Update ir-based cross compiler so it does everything the full compiler can do.