arsenm added a comment. This also should have an intermediate node added, so it is easy to add it to the various switches over memory operations (e.g. we look for all memory operations in PerformDAGCombine) https://reviews.llvm.org/D37985