The General Circulation of Tidally Locked and Non-Tidally Locked Exoplanets