Convert "We can only unfold illegal constants in phis" to a warning