Toss together sweet potatoes, garlic, and olive oil in a large, lightly greased roasting pan; sprinkle with chopped rosemary, salt, and pepper.
Bake, uncovered, at 450° for 30 to 35 minutes, stirring every 10 minutes or until potatoes are tender and brown. Garnish, if desired.