[llvm-commits] CVS: llvm/lib/Analysis/BasicAliasAnalysis.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 29 20:45:01 PST 2004


Changes in directory llvm/lib/Analysis:

BasicAliasAnalysis.cpp updated: 1.29 -> 1.30

---
Log message:

Expand on my note-to-self


---
Diffs of the changes:  (+3 -1)

Index: llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff -u llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.29 llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.30
--- llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.29	Sun Feb 22 00:26:17 2004
+++ llvm/lib/Analysis/BasicAliasAnalysis.cpp	Sun Feb 29 20:44:44 2004
@@ -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.
 //
 //===----------------------------------------------------------------------===//
 





More information about the llvm-commits mailing list