- Mark last use of a split interval as kill instead of letting spiller track it.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 5 Dec 2007 03:22:34 +0000 (03:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 5 Dec 2007 03:22:34 +0000 (03:22 +0000)
commit018f9b020bb12b731b0a7081578e5f82fb35092d
tree5cf58e923ef6ad5f63c7cf3c83aa6f68266b5315
parentd64b5c82b97ad1b74eb9fd2f23257a7899b0c307
- Mark last use of a split interval as kill instead of letting spiller track it.
  This allows an important optimization to be re-enabled.
- If all uses / defs of a split interval can be folded, give the interval a
  low spill weight so it would not be picked in case spilling is needed (avoid
  pushing other intervals in the same BB to be spilled).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44601 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/VirtRegMap.cpp