From 6f6e0f29ad4e5b80e3f09edc74eb9289412efc57 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 1 Mar 2004 02:44:44 +0000 Subject: Expand on my note-to-self llvm-svn: 12029 --- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp') 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. // //===----------------------------------------------------------------------===// -- cgit v1.2.3