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:
parent
f403ec470e
commit
e7080fe2a9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user