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)
commitdc2e0cd44a81c546aacba772d524f8af98b00f93
treea11bd454c4c8d43588b044514a7104d34609d9b8
parenta968caf8e024c51cb90872fef60cd529043e25d0
Fix PR12821.

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

llvm-svn: 156777
llvm/lib/CodeGen/RegAllocFast.cpp
llvm/test/CodeGen/X86/liveness-local-regalloc.ll