diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-01 02:44:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-01 02:44:44 +0000 |
commit | 2d6a6aa1376c220c60f524c4e028c3fb42d2a398 (patch) | |
tree | 0b13164fffd40faf5ef63782b5b39daede9de7a7 /lib/Analysis/BasicAliasAnalysis.cpp | |
parent | 21585221b6338b9cc8b685e28138345e4e78bdee (diff) |
Expand on my note-to-self
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
-rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 0b131bc76b..16bb53f63b 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/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. // //===----------------------------------------------------------------------===// |