aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-18 21:42:19 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-18 21:42:19 +0000
commit1744e476ec3df0350a1163bf2c6439ea21aefbba (patch)
tree2ae7a6eacade3d78a025c343b9fdd4848062b2af /lib/CodeGen/LLVMTargetMachine.cpp
parentb6192d2a9f05e05504470a6df0f4374a0424d7f3 (diff)
Extend live debug values down the dominator tree by following copies.
The llvm.dbg.value intrinsic refers to SSA values, not virtual registers, so we should be able to extend the range of a value by tracking that value through register copies. This greatly improves the debug value tracking for function arguments that for some reason are copied to a second virtual register at the end of the entry block. We only extend the debug value range where its register is killed. All original llvm.dbg.value locations are still respected. Copies from physical registers are ignored. That should not be a problem since the entry block already adds DBG_VALUE instructions for the virtual registers holding the function arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions