Forbes has an article about research apparently showing that large discount stores have a net beneficial health effect, especially for the poor.

The primary mechanism they identify is that lower prices make it possible for poorer people to afford more. This raises their effective income, so they are able to buy healthier foods than in the absence of large discount retailers.