Execute virtreg kills immediately instead of after processing all uses.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 17 May 2010 03:26:06 +0000 (03:26 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 17 May 2010 03:26:06 +0000 (03:26 +0000)
commitac3e529831877cea609ed668f95b1dc06e34698c
tree8df23dd029ee8309424a725a8117ef0fc893abf2
parent41e1401de5cb8752fb9d06e65e62bfe97cc1304e
Execute virtreg kills immediately instead of after processing all uses.

This is safe to do because the physreg has been marked UsedInInstr and the kill flag will be set on the last operand using the virtreg if there are more then one.

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