Add unit test with invariant store for vectorizer memory runtime checks

The test is for the functionality implemented in
https://reviews.llvm.org/D110235

Differential Revision: https://reviews.llvm.org/D124609
2 files changed