Marx treated Smith rather favorably, and credits him for first understanding that labor in general is what creates value. Smith is best understood as an early pioneer in understanding political economy and trade. He likely wouldn’t recognize or understand the capitalism of today (nor would Marx).