Build the complement interval dupli after the split intervals instead of
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 21 Sep 2010 22:32:21 +0000 (22:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 21 Sep 2010 22:32:21 +0000 (22:32 +0000)
commit5fa42a45a1845046dde84089fb4d8e1e1b329b65
treeaeace66f05c9632b3d7949d513db3210f7dbf4ad
parentb86faa17a4e574580ad029a8082a27ead2fa6013
Build the complement interval dupli after the split intervals instead of
creating it before and subtracting split ranges.

This way, the SSA update code in LiveIntervalMap can properly create and use new
phi values in dupli. Now it is possible to create split regions where a value
escapes along two different CFG edges, creating phi values outside the split
region.

This is a work in progress and probably quite broken.

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