Index funds, or really anyone with long horizon investment objectives, are major benefactors of HFT. Note, "HFT" really means nothing in modern context, but regardless, what most mean are "Electronic Market Makers". Long horizon investors benefit directly from being able to access cheap and plentiful liquidity pretty much whenever they want to. Spreads are tighter because there is now significant competition to provide that liquidity.