What is the role of inflation in stock market performance?

What effect does inflation have on stock market returns and investor purchasing power?,