summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-01 02:44:44 +0000
committerChris Lattner <sabre@nondot.org>2004-03-01 02:44:44 +0000
commit6f6e0f29ad4e5b80e3f09edc74eb9289412efc57 (patch)
tree240b05ad784718d1e104f322a26a615eab73a214 /llvm/lib
parent1f4642c47cd341e1536bebfae109eb7e88b06a5e (diff)
downloadbcm5719-llvm-6f6e0f29ad4e5b80e3f09edc74eb9289412efc57.tar.gz
bcm5719-llvm-6f6e0f29ad4e5b80e3f09edc74eb9289412efc57.zip
Expand on my note-to-self
llvm-svn: 12029
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/BasicAliasAnalysis.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
index 0b131bc76b6..16bb53f63b7 100644
--- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
@@ -14,7 +14,9 @@
// FIXME: This could be extended for a very simple form of mod/ref information.
// If a pointer is locally allocated (either malloc or alloca) and never passed
// into a call or stored to memory, then we know that calls will not mod/ref the
-// memory. This can be important for tailcallelim.
+// memory. This can be important for tailcallelim, and can support CSE of loads
+// and dead store elimination across calls. This is particularly important for
+// stack allocated arrays.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud