aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-03-14 22:43:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-03-14 22:43:40 +0000
commitc6deb3d44707de57e82e16642ab845bc8b9e9e01 (patch)
tree52fca56ea4b65384370c3a9ef5310eda3ecefd3c /lib/CodeGen/PHIElimination.cpp
parentba693005e9bfad78835f3280aa204233fc882f63 (diff)
Estimate a cost using the possible number of scratch registers required and use
it as a late BURR scheduling tie-breaker. Intuitively, it's good to push down instructions whose results are liveout so their long live ranges won't conflict with other values which are needed inside the BB. Further prioritize liveout instructions by the number of operands which are calculated within the BB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions