summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit816f5f4c2a82a3afc9c0cefdd641428042b65d26 (patch)
tree26298e492b96ceecc3560697613716914cf56bec /clang/lib/CodeGen/CodeGenModule.cpp
parent8c3d7351182b1e1731d8861263fe953d8b541efa (diff)
downloadbcm5719-llvm-816f5f4c2a82a3afc9c0cefdd641428042b65d26.tar.gz
bcm5719-llvm-816f5f4c2a82a3afc9c0cefdd641428042b65d26.zip
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. llvm-svn: 127912
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud