1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Call RenumberValues for all new registers created during splitting. This is

necessary to get correct hasPHIKill flags.

llvm-svn: 117406
This commit is contained in:
Jakob Stoklund Olesen 2010-10-26 22:36:05 +00:00
parent 0007e9a345
commit fa777d622d

View File

@ -839,7 +839,8 @@ void SplitEditor::finish() {
computeRemainder();
// Get rid of unused values and set phi-kill flags.
dupli_.getLI()->RenumberValues(lis_);
for (LiveRangeEdit::iterator I = edit_.begin(), E = edit_.end(); I != E; ++I)
(*I)->RenumberValues(lis_);
// Now check if dupli was separated into multiple connected components.
ConnectedVNInfoEqClasses ConEQ(lis_);