[llvm-commits] [poolalloc] r60356 - /poolalloc/trunk/lib/DSA/Local.cpp
John Criswell
criswell at uiuc.edu
Mon Dec 1 09:26:03 PST 2008
Author: criswell
Date: Mon Dec 1 11:25:29 2008
New Revision: 60356
URL: http://llvm.org/viewvc/llvm-project?rev=60356&view=rev
Log:
Switched to the new LLVM memcpy()/memset()/memmove() intrinsic names.
Modified:
poolalloc/trunk/lib/DSA/Local.cpp
Modified: poolalloc/trunk/lib/DSA/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/Local.cpp?rev=60356&r1=60355&r2=60356&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/Local.cpp (original)
+++ poolalloc/trunk/lib/DSA/Local.cpp Mon Dec 1 11:25:29 2008
@@ -575,10 +575,8 @@
case Intrinsic::dbg_region_start:
case Intrinsic::dbg_declare:
return true; // noop
- case Intrinsic::memcpy_i32:
- case Intrinsic::memcpy_i64:
- case Intrinsic::memmove_i32:
- case Intrinsic::memmove_i64: {
+ case Intrinsic::memcpy:
+ case Intrinsic::memmove: {
// Merge the first & second arguments, and mark the memory read and
// modified.
DSNodeHandle RetNH = getValueDest(**CS.arg_begin());
@@ -587,8 +585,7 @@
N->setModifiedMarker()->setReadMarker();
return true;
}
- case Intrinsic::memset_i32:
- case Intrinsic::memset_i64:
+ case Intrinsic::memset:
// Mark the memory modified.
if (DSNode *N = getValueDest(**CS.arg_begin()).getNode())
N->setModifiedMarker();
More information about the llvm-commits
mailing list