aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-05 20:12:36 +0000
committerChris Lattner <sabre@nondot.org>2004-06-05 20:12:36 +0000
commitc7ca32b2036b7979b81f09672a624095ed01bdba (patch)
treec12eea325aff7bd8d013855252e9f7313eacafc9
parentc70a5092bf6e06164114b2ecf562193538afe898 (diff)
Add some notes so I can throw away one of my many todo lists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14046 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/IPA/Andersens.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp
index 371a8a0dee..8ccefe1727 100644
--- a/lib/Analysis/IPA/Andersens.cpp
+++ b/lib/Analysis/IPA/Andersens.cpp
@@ -41,6 +41,12 @@
// pointers. If we find that an internal function's address escapes outside of
// the program, we update this assumption.
//
+// Future Improvements:
+// This implementation of Andersen's algorithm is extremely slow. To make it
+// scale reasonably well, the inclusion constraints could be sorted (easy),
+// offline variable substitution would be a huge win (straight-forward), and
+// online cycle elimination (trickier) might help as well.
+//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "anders-aa"