don't break phis with switch legalization