[MemorySSA] Extend allowed behavior for simplified instructions.
LoopRotate may simplify instructions, leading to the new instructions not having memory accesses created for them.
Allow this behavior, by allowing the new access to be null when the template is null, and looking upwards for the proper defined access when dealing with simplified instructions.
Subscribers: jlebar, Prazek, llvm-commits
Differential Revision: https://reviews.llvm.org/D65338