Remove binary compat hacks in IR