My earliest experiences with Dungeons and Dragons were in the campaigns run by friends of my older brother. Those campaigns were heavily informed by Mormon mythology: my character's name was Archeantus, and the other players had similar Book of Mormon names. I seem to recall us creeping through a cavern in one session, looking for the lair of the Gadianton Robbers.
Thus, my earliest D&D experiences were quite unlike those of you who were emulating the fantasy fiction of Howard, Lieber, Vance, Burroughs, Lovecraft and their ilk.
The earliest reference to swords and sorcery role-playing that I can find in D&D appears in the 1975 Greyhawk Supplement to the Original Dungeons and Dragons game. In that rulebook, Gary Gygax writes:
"If you enjoy fantasy you will never be sorry you were introduced to the swords and sorcery of DUNGEONS & DRAGONS games." - Greyhawk, pg. 3
And in the preface to the 1979 AD&D Dungeon Masters Guide, Gary Gygax makes the following remark:
No two (Advanced D&D) campaigns will ever by the same, but all will have the common ground necessary to maintaining the whole as a viable entity about which you and your players can communicate with the many thousands of others who also find sword and sorcery role playing gaming an amusing and enjoyable pastime." - DMG, pg. 8
It may simply be a function of my ignorance of the meaning of the term swords and sorcery, but I don't consider either Original or Advanced Dungeons and Dragons to be a swords and sorcery roleplaying game. Generic fantasy, perhaps. But not swords and sorcery.
There are many reasons I hold that view. Here are two.
First, the inclusion of Magic Users as a playable class seems antithetical to a swords and sorcery game: few S&S stories feature a spell-caster as protagonist, and where they do, they usually pay a steep price for dabbling in the dark arts. Most spell-casters in S&S literature are at best distrusted, at worst, they are the dread antagonists of the story.
Second, few if any S&S tales include demi-humans such as elves or dwarves as protagonists. Where they do appear, they are malicious spirits or fearsome creatures of the earth.
There are more than a few old-school bloggers playing swords and sorcery campaigns, but most have house-ruled D&D to more fully emulate the genre, or are using a different ruleset to capture the feel of swords and sorcery adventures.