Halliday & Matthiessen (2014: 198):
In many instances an embedded clause functioning as Subject appears at the end of the clause in which it is embedded, with an anticipatory it occurring in the normal Subject position, as in it’s no use crying over spilt milk. In such cases there will be a marked variant with the clause Subject at the beginning: crying over spilt milk is no use.