kuhar accepted this revision. kuhar added a comment. This revision is now accepted and ready to land. Looks good, but you may want to wait for a green flag from someone more familiar with loops. Repository: rL LLVM https://reviews.llvm.org/D45150