[llvm-commits] [llvm] r63492 - /llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Owen Anderson
resistor at mac.com
Sun Feb 1 00:41:55 PST 2009
Author: resistor
Date: Sun Feb 1 02:41:54 2009
New Revision: 63492
URL: http://llvm.org/viewvc/llvm-project?rev=63492&view=rev
Log:
Fix test failures causes by my previous commit.
Modified:
llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Modified: llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp?rev=63492&r1=63491&r2=63492&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp (original)
+++ llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp Sun Feb 1 02:41:54 2009
@@ -486,6 +486,7 @@
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.
More information about the llvm-commits
mailing list