ARM: add correct kill flags when combining stm instructions
authorTim Northover <tnorthover@apple.com>
Mon, 29 Jun 2015 21:42:16 +0000 (21:42 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 29 Jun 2015 21:42:16 +0000 (21:42 +0000)
commit83f0fbcc3712b185dc2323f8ee6e2a9527f97a04
tree5299bbf5ceee928f7b0c1dbee252ab98719c7157
parentabf88a0398d60bbf26d462dd84b9252c9098dc5a
ARM: add correct kill flags when combining stm instructions

When the store sequence being combined actually stores the base register, we
should not mark it as killed until the end.

rdar://21504262

llvm-svn: 241003
llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
llvm/test/CodeGen/ARM/load-store-flags.ll [new file with mode: 0644]