OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ad90a
)
Fix a major bug in the DFS calculation. Thanks for Christopher Lamb for pointing...
author
Owen Anderson
<resistor@mac.com>
Mon, 31 Mar 2008 01:39:20 +0000
(
01:39
+0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 31 Mar 2008 01:39:20 +0000
(
01:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48973
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/StrongPHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/StrongPHIElimination.cpp
b/lib/CodeGen/StrongPHIElimination.cpp
index
05b38bb
..
0c78536
100644
(file)
--- a/
lib/CodeGen/StrongPHIElimination.cpp
+++ b/
lib/CodeGen/StrongPHIElimination.cpp
@@
-174,7
+174,7
@@
void StrongPHIElimination::computeDFS(MachineFunction& MF) {
}
bool inserted = false;
- for (MachineDomTreeNode::iterator I =
node->begin(), E = n
ode->end();
+ for (MachineDomTreeNode::iterator I =
currNode->begin(), E = currN
ode->end();
I != E; ++I)
if (!frontier.count(*I) && !visited.count(*I)) {
worklist.push_back(*I);