Preheat your oven to 350°F and grease a 2-quart baking dish or a 9-inch square pan with non-stick spray.
In a mixing bowl, combine the cooked sweet potatoes, granulated sugar, softened butter, eggs, salt, and vanilla extract. Beat the mixture until smooth and creamy.
Transfer the sweet potato mixture into the prepared baking dish and spread it evenly.
In a separate bowl, mix the brown sugar, flour, chopped pecans, and melted butter until crumbly.
Evenly sprinkle the crumbly topping over the sweet potato mixture.
Bake the casserole uncovered for 35 minutes, or until bubbly and golden brown.
Allow the casserole to rest for 10 minutes before serving.