summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-28 00:06:42 +0000
committerChris Lattner <sabre@nondot.org>2001-09-28 00:06:42 +0000
commitb271be3185a85c4527a48e330874bdcbaded2af7 (patch)
tree66f2225065bb8548e99bfe95b52122216f97b026 /llvm/lib/Transforms
parente518b60714bff1df1f192cb204c9f7827088e620 (diff)
downloadbcm5719-llvm-b271be3185a85c4527a48e330874bdcbaded2af7.tar.gz
bcm5719-llvm-b271be3185a85c4527a48e330874bdcbaded2af7.zip
ADCE is broken but at least we know why
llvm-svn: 656
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/ADCE.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp
index dcf740e7f90..631db2cea78 100644
--- a/llvm/lib/Transforms/Scalar/ADCE.cpp
+++ b/llvm/lib/Transforms/Scalar/ADCE.cpp
@@ -17,7 +17,7 @@
#include <set>
#include <algorithm>
-//#define DEBUG_ADCE 1
+#define DEBUG_ADCE 1
//===----------------------------------------------------------------------===//
// ADCE Class
@@ -184,6 +184,11 @@ bool ADCE::doADCE() {
MadeChanges = true;
}
AliveBlocks.insert(E);
+
+ // Next we need to change any PHI nodes in the entry block to refer to the
+ // new predecessor node...
+
+
} else {
// We need to move the new entry block to be the first bb of the method.
Method::iterator EBI = find(M->begin(), M->end(), EntryBlock);
OpenPOWER on IntegriCloud