When we generate spill code, then decide we don't need
authorDale Johannesen <dalej@apple.com>
Wed, 28 Oct 2009 21:56:18 +0000 (21:56 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 28 Oct 2009 21:56:18 +0000 (21:56 +0000)
commite841d2f8679f603ec453fe56a3bf9bea97aef303
tree984e104f4adb8db09cf2edaf14916c983fe84367
parent7e5d2ff20fb4ca86b27f28fc5fb9d589bc0752fd
When we generate spill code, then decide we don't need
to spill after all, we weren't handling 2-instruction
spill sequences correctly (PPC Altivec).  We need to
remove the store in this case.  Removing the other
instruction(s) would be goodness but is not needed for
correctness, and isn't done here.  7331562.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85437 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegRewriter.cpp