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:
f664e41
)
Remove an incorrect check.
author
Owen Anderson
<resistor@mac.com>
Fri, 6 Jul 2007 16:52:47 +0000
(16:52 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 6 Jul 2007 16:52:47 +0000
(16:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37948
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVNPRE.cpp
b/lib/Transforms/Scalar/GVNPRE.cpp
index dde7e466afb16055e5f005fefb9bb77a117a443e..5fe4f0a3eebecc196079f50a8ad28d489d296d74 100644
(file)
--- a/
lib/Transforms/Scalar/GVNPRE.cpp
+++ b/
lib/Transforms/Scalar/GVNPRE.cpp
@@
-1659,11
+1659,6
@@
unsigned GVNPRE::insertion_mergepoint(std::vector<Value*>& workList,
for (pred_iterator PI = pred_begin(BB), PE = pred_end(BB); PI != PE;
++PI) {
Value *e2 = phi_translate(e, *PI, BB);
- if (find_leader(anticipatedIn[*PI], VN.lookup(e2)) == 0) {
- by_some = false;
- break;
- }
-
Value *e3 = find_leader(availableOut[*PI], VN.lookup(e2));
if (e3 == 0) {