summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-02-01 08:41:54 +0000
committerOwen Anderson <resistor@mac.com>2009-02-01 08:41:54 +0000
commit19616c08a0e36f172edc02a7af308697aaab90a8 (patch)
treeab442f14d43d06b289621fb4e9582332db8686cd /llvm/lib/CodeGen
parent1f90fe17f91f22ed6df24da747a632f9a7a925bd (diff)
downloadbcm5719-llvm-19616c08a0e36f172edc02a7af308697aaab90a8.tar.gz
bcm5719-llvm-19616c08a0e36f172edc02a7af308697aaab90a8.zip
Fix test failures causes by my previous commit.
llvm-svn: 63492
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PreAllocSplitting.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp
index dc4a42ae375..4061859f740 100644
--- a/llvm/lib/CodeGen/PreAllocSplitting.cpp
+++ b/llvm/lib/CodeGen/PreAllocSplitting.cpp
@@ -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.
OpenPOWER on IntegriCloud