Dead code elimination may separate the live interval into multiple connected components.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 17 Mar 2011 20:37:07 +0000 (20:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 17 Mar 2011 20:37:07 +0000 (20:37 +0000)
commit6a3dbd3b25bbc99bd1a233d6a74ddea3493ba6ac
tree512a2f340823e0cb054136093b13d679f6200e6b
parentc74513d1b6e2f6c91533a23ebbdc47a6f1dfcc0c
Dead code elimination may separate the live interval into multiple connected components.

I have convinced myself that it can only happen when a phi value dies. When it
happens, allocate new virtual registers for the components.

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