Add support for the llvm.memmove intrinsic
[oota-llvm.git] / lib / VMCore / Function.cpp
index a4bc4eab2a86f8e78d875193b3b3b3af7a4076cc..8875661ff04e136118934ee061f6f06a45d0a107 100644 (file)
@@ -219,6 +219,7 @@ unsigned Function::getIntrinsicID() const {
     break;
   case 'm':
     if (getName() == "llvm.memcpy")  return Intrinsic::memcpy;
+    if (getName() == "llvm.memmove")  return Intrinsic::memmove;
     break;
   case 's':
     if (getName() == "llvm.setjmp")     return Intrinsic::setjmp;