Effect of irradiation on phosphorus segregation