projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5caedc0
)
Fix test failures causes by my previous commit.
author
Owen Anderson
<resistor@mac.com>
Sun, 1 Feb 2009 08:41:54 +0000
(08:41 +0000)
committer
Owen Anderson
<resistor@mac.com>
Sun, 1 Feb 2009 08:41:54 +0000
(08:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63492
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PreAllocSplitting.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PreAllocSplitting.cpp
b/lib/CodeGen/PreAllocSplitting.cpp
index dc4a42ae375ec5ab51cfa5d3e9c2c776abb8a989..4061859f740c23371d52392a9ad7991c7554800d 100644
(file)
--- a/
lib/CodeGen/PreAllocSplitting.cpp
+++ b/
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.