[llvm-commits] [llvm] r37948 - /llvm/trunk/lib/Transforms/Scalar/GVNPRE.cpp
Owen Anderson
resistor at mac.com
Fri Jul 6 09:52:48 PDT 2007
Author: resistor
Date: Fri Jul 6 11:52:47 2007
New Revision: 37948
URL: http://llvm.org/viewvc/llvm-project?rev=37948&view=rev
Log:
Remove an incorrect check.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVNPRE.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVNPRE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVNPRE.cpp?rev=37948&r1=37947&r2=37948&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVNPRE.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVNPRE.cpp Fri Jul 6 11:52:47 2007
@@ -1659,11 +1659,6 @@
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) {
More information about the llvm-commits
mailing list