diff options
Diffstat (limited to 'lib/Analysis/IPA/Andersens.cpp')
-rw-r--r-- | lib/Analysis/IPA/Andersens.cpp | 6 |
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" |