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

Chris Lattner lattner at cs.uiuc.edu
Thu Mar 2 17:21:48 PST 2006



Changes in directory llvm/lib/Analysis/IPA:

Andersens.cpp updated: 1.26 -> 1.27
---
Log message:

updates for recent changes


---
Diffs of the changes:  (+4 -2)

 Andersens.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.26 llvm/lib/Analysis/IPA/Andersens.cpp:1.27
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.26	Sun Jan 22 17:19:18 2006
+++ llvm/lib/Analysis/IPA/Andersens.cpp	Thu Mar  2 19:21:36 2006
@@ -607,7 +607,8 @@
       F->getName() == "atol" || F->getName() == "atoll" ||
       F->getName() == "remove" || F->getName() == "unlink" ||
       F->getName() == "rename" || F->getName() == "memcmp" ||
-      F->getName() == "llvm.memset" ||
+      F->getName() == "llvm.memset.i32" ||
+      F->getName() == "llvm.memset.i64" ||
       F->getName() == "strcmp" || F->getName() == "strncmp" ||
       F->getName() == "execl" || F->getName() == "execlp" ||
       F->getName() == "execle" || F->getName() == "execv" ||
@@ -645,7 +646,8 @@
 
 
   // These functions do induce points-to edges.
-  if (F->getName() == "llvm.memcpy" || F->getName() == "llvm.memmove" ||
+  if (F->getName() == "llvm.memcpy.i32" || F->getName() == "llvm.memcpy.i64" || 
+      F->getName() == "llvm.memmove.i32" ||F->getName() == "llvm.memmove.i64" ||
       F->getName() == "memmove") {
     // Note: this is a poor approximation, this says Dest = Src, instead of
     // *Dest = *Src.






More information about the llvm-commits mailing list