aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-18 04:18:19 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-18 04:18:19 +0000
commitfc2fcb4165f10fb1708c528014379cb9e1738bab (patch)
tree1ed41e50b729945372cc72485ad5ce38e19663ca /lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
parent141ec63962b6fca66ab0007ffc6e50de46a22b6f (diff)
Properly shrink live ranges after deleting dead copies. Clean up after all joined copies.
LiveInterval::shrinkToUses recomputes the live range from scratch instead of removing snippets. This should avoid the problem with dangling live ranges. Leave physreg identity copies alone. They can be created when joining a virtreg with a physreg. They don't affect register allocation, and they will be removed by the rewriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/UnifyFunctionExitNodes.cpp')
0 files changed, 0 insertions, 0 deletions