promoting a store in a loop. This was noticed when working on PR14753, but isn't directly related. llvm-svn: 171281