Remember to clear the shadow kill flag at the same time as clearing the real
commit68322e5d81e982ca050362917555bc572c9a36ad
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Aug 2010 21:52:40 +0000 (30 21:52 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Aug 2010 21:52:40 +0000 (30 21:52 +0000)
treeeddd9d0c9ffe9080495a6da35f3190e00065d365
parent44e8676f6b123405493b43b8b1bc9c361fac4b46
Remember to clear the shadow kill flag at the same time as clearing the real
kill flag.

This could cause duplicate kill flags when the same register was used twice in a
continuous sequence of STRs.

There is no small test case. <rdar://problem/8218046>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112534 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp