Fix PR2898. Spiller delete a store for reuse before it knows for sure the reuse happened.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 17 Oct 2008 20:56:41 +0000 (20:56 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 17 Oct 2008 20:56:41 +0000 (20:56 +0000)
commitaf42fe36acaf21958bd283f7327a068bbd1016ba
tree66cbd3829f063a70048ca80fbefb8c8bf20fdec1
parentcfc14c153a3e233c329394f148d83cd6862a51a6
Fix PR2898. Spiller delete a store for reuse before it knows for sure the reuse happened.
Patch by Lang Hames!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57720 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/X86/2008-10-17-SpillerBug.ll [new file with mode: 0644]