1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix test failures causes by my previous commit.

llvm-svn: 63492
This commit is contained in:
Owen Anderson 2009-02-01 08:41:54 +00:00
parent f403ec470e
commit e7080fe2a9

View File

@ -486,6 +486,7 @@ VNInfo* PreAllocSplitting::PerformPHIConstruction(
if (MBB->pred_size() == 1 && !ret->hasPHIKill) {
LI->MergeValueNumberInto(ret, IncomingVNs.begin()->second);
Phis[MBB] = ret = IncomingVNs.begin()->second;
} else {
// Otherwise, merge the incoming VNInfos with a phi join. Create a new
// VNInfo to represent the joined value.