[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 2 16:00:38 PST 2006
Changes in directory llvm/lib/Analysis/DataStructure:
Local.cpp updated: 1.139 -> 1.140
---
Log message:
Split memcpy/memset/memmove intrinsics into i32/i64 versions, resolving
PR709: http://llvm.cs.uiuc.edu/PR709 , and paving the way for future progress.
---
Diffs of the changes: (+6 -3)
Local.cpp | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Index: llvm/lib/Analysis/DataStructure/Local.cpp
diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.139 llvm/lib/Analysis/DataStructure/Local.cpp:1.140
--- llvm/lib/Analysis/DataStructure/Local.cpp:1.139 Sun Jan 22 16:52:03 2006
+++ llvm/lib/Analysis/DataStructure/Local.cpp Thu Mar 2 18:00:25 2006
@@ -545,8 +545,10 @@
return;
case Intrinsic::vaend:
return; // noop
- case Intrinsic::memmove:
- case Intrinsic::memcpy: {
+ case Intrinsic::memmove_i32:
+ case Intrinsic::memcpy_i32:
+ case Intrinsic::memmove_i64:
+ case Intrinsic::memcpy_i64: {
// Merge the first & second arguments, and mark the memory read and
// modified.
DSNodeHandle RetNH = getValueDest(**CS.arg_begin());
@@ -555,7 +557,8 @@
N->setModifiedMarker()->setReadMarker();
return;
}
- case Intrinsic::memset:
+ case Intrinsic::memset_i32:
+ case Intrinsic::memset_i64:
// Mark the memory modified.
if (DSNode *N = getValueDest(**CS.arg_begin()).getNode())
N->setModifiedMarker();
More information about the llvm-commits
mailing list