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)
commit9cbdfb5c055847613288ceddf512d01b174cbf58
tree8f3956a1e0b10872c1318dedd98f4feccbf8b408
parent7839b00d43d9163fe4f2c8e9a3b59965fcd8d600
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
test/CodeGen/ARM/load-store-flags.ll [new file with mode: 0644]