junbuml added a comment. > Have you considered deciding this as a MachineCombiner pattern? This would be a good place to know if the loop is arithmetic or load/store heavy. Let me take a look if we can move this to MachineCombiner. Thanks James! http://reviews.llvm.org/D20172