OSDN Git Service

Don't shrink live ranges after dead code elimination unless it is going to help.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 11 Apr 2011 15:00:39 +0000 (15:00 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 11 Apr 2011 15:00:39 +0000 (15:00 +0000)
commit1edc3cf65d54130542fc91bac67ecf616ef88d48
tree1469dc2fde6d6dd7c56ffba5af2631d6ce561ba9
parentff688a1f6ef036c5da29de15a431d71491058b91
Don't shrink live ranges after dead code elimination unless it is going to help.

In particular, don't repeatedly recompute the PIC base live range after rematerialization.

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