Fix PR12821.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 14 May 2012 21:10:25 +0000 (21:10 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 14 May 2012 21:10:25 +0000 (21:10 +0000)
commit4d10829e1296b7aea0455e000fc318b147182c1c
tree4cc8df441ee344dd4a463af800bad6952a1d99ce
parent3a884f5c17ac32e34e7e62b4602a0d73eeda1ce8
Fix PR12821.

RAFast must add an <imp-def> operand when it is rewriting a sub-register
def that isn't a read-modify-write.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156777 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocFast.cpp
test/CodeGen/X86/liveness-local-regalloc.ll