summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit2738b7ea61668f1bf2967f230e8f96fd8361df2d (patch)
treeb65f1df59ede83b54296a65f8f14c67aa021aa9a /llvm/lib
parent307e1df0d1dfa1da979820148b7255e5b262d1d7 (diff)
downloadbcm5719-llvm-2738b7ea61668f1bf2967f230e8f96fd8361df2d.tar.gz
bcm5719-llvm-2738b7ea61668f1bf2967f230e8f96fd8361df2d.zip
Add some notes so I can throw away one of my many todo lists.
llvm-svn: 14046
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/IPA/Andersens.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/IPA/Andersens.cpp b/llvm/lib/Analysis/IPA/Andersens.cpp
index 371a8a0deec..8ccefe17271 100644
--- a/llvm/lib/Analysis/IPA/Andersens.cpp
+++ b/llvm/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"
OpenPOWER on IntegriCloud