Sometimes, old virtual registers can linger on DBG_VALUE instructions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 12 Jan 2011 22:37:49 +0000 (22:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 12 Jan 2011 22:37:49 +0000 (22:37 +0000)
commitf203627f21614cbef9526aa791b3e7b0493d1e41
treef66cbc9f4b6f7c14577532d303267b0d4f04d0a6
parentee547095bbf2c201029c0036ceeb49a66be37119
Sometimes, old virtual registers can linger on DBG_VALUE instructions.

Make sure we don't crash in that case, but simply turn them into %noreg instead.

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