dnovillo added a comment. I'm confused. Your change seems to be modifying the semantics of the expansion. Could you elaborate on why this is safe? The code used to expect uses of the increment instruction. http://reviews.llvm.org/D11579