Preheat your oven to 320°F (160°C). Grease and flour two 9-inch round cake pans. Line the base of the pans with round cut outs of baking paper.
In a large mixing bowl, combine the flour, sugar, salt, and cinnamon.
Add the eggs, vegetable oil, and vanilla extract to the dry ingredients. Whisk until the batter is smooth (about 2 minutes).
Gently fold in the mashed bananas, crushed pineapple, and 1 cup of chopped pecans (if desired). Be careful not to over-mix the batter.
Divide the batter equally among the prepared cake pans. Smooth the tops with a spatula.
Bake in the preheated oven for approximately 35 minutes, or until a toothpick inserted into the center of the cakes comes out clean.
Remove the cakes from the oven and let them cool in the pans for 10 minutes. Then, transfer them to a wire rack to cool completely.
Prepare the cream cheese frosting. Beat the softened butter and cream cheese together until creamy and smooth.
Gradually add the icing sugar, one cup at a time, beating well after each addition. Stir in the vanilla extract until the frosting is smooth and fluffy.
Once the cakes have cooled completely, place one layer on a serving plate and spread a generous amount of cream cheese frosting on top. Repeat with the remaining layers, stacking them on top of each other.
Use the remaining cream cheese frosting to frost the sides and top of the cake.
Decorate with additional chopped pecans, banana slices or fresh flowers for a beautiful finishing touch.
Allow the cake to set for at least an hour before serving, or refrigerate if desired. This will allow the flavors to meld together, resulting in an even more delicious cake.