Fix for PR1831: if all defs of an interval are re-materializable, then it's a preferr...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 Dec 2007 00:01:56 +0000 (00:01 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 Dec 2007 00:01:56 +0000 (00:01 +0000)
commit5ef3a04b542c4e585276768fa9ca2af698ef5c87
tree6b72163b7ae2b198f8295130ebab1761ada9d43b
parentbdcb726fcad1e3fddc70847a2b91d4d4f9396938
Fix for PR1831: if all defs of an interval are re-materializable, then it's a preferred spill candiate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44644 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
test/CodeGen/ARM/lsr-code-insertion.ll