Avoid processing early clobbers twice in RegAllocFast.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 15 Jun 2010 16:20:57 +0000 (16:20 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 15 Jun 2010 16:20:57 +0000 (16:20 +0000)
commit75ac4d9c2dfb22f84da25dec03df7a07f3dad1fa
treeeb321bdb0c71a18d3b941bcf8440fee2b8b5d231
parent40d07bbebbe73914af28be1bdab169ce8333adca
Avoid processing early clobbers twice in RegAllocFast.

Early clobbers defining a virtual register were first alocated to a physreg and
then processed as a physreg EC, spilling the virtreg.

This fixes PR7382.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocFast.cpp
test/CodeGen/X86/2010-06-15-FastAllocEarlyCLobber.ll [new file with mode: 0644]