Lycurgus A. Wilson teaches that, prior to Adam, the earth had been populated a number of times; Adam was commanded to re-populate the earth.
Lycurgus A. Wilson, Outlines of Mormon Philosophy: Or, The Answers Given By the Gospel, As Revealed Through the Prophet Joseph Smith, to the Questions of Life (Salt Lake City: The Deseret News, 1905), 87
How many times the earth, or portions of it in another planet, was peopled by the Lord before Adam was placed upon it, we are not informed; but from the fact that he commanded to replenish, or re-fill it, we may infer that it had in some form, been inhabited before our first parents came here. But of this no account is given us by revelation.