The effects of strontium modification on the structure and dynamics of Al88Si12 liquid are studied by means of ab initio molecular dynamics simulations. By replacing 0.5% and 4.0% of Al with Sr, we show that the addition of Sr lowers the self-diffusion of Al and Si of the liquid and reduces the nearest-neighbor correlation between Si atoms. The simulation provides an explanation for the change in morphology of the eutectic phases observed in rapidly solidified Al-Si alloys modified with Sr.