Fix a major performance issue with splitting. If there is a def (not def/use)
authorEvan Cheng <evan.cheng@apple.com>
Thu, 29 Nov 2007 10:12:14 +0000 (10:12 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 29 Nov 2007 10:12:14 +0000 (10:12 +0000)
commit1953d0cb7d6d27da3ad067468a7ad6dd7c4fa46e
treee4dd7a1283e526db8646d9a174576ea881b65740
parent213ee902ccbe342abcc79695fac8514870ed4bab
Fix a major performance issue with splitting. If there is a def (not def/use)
in the middle of a split basic block, create a new live interval starting at
the def. This avoid artifically extending the live interval over a number of
cycles where it is dead. e.g.

bb1:
       = vr1204   (use / kill) <= new interval starts and ends here.
...
...
vr1204 =          (new def)   <= start a new interval here.
       = vr1204   (use)

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