[llvm-commits] [poolalloc] r130063 - /poolalloc/trunk/lib/AssistDS/TypeChecks.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Sat Apr 23 10:28:39 PDT 2011
Author: aggarwa4
Date: Sat Apr 23 12:28:39 2011
New Revision: 130063
URL: http://llvm.org/viewvc/llvm-project?rev=130063&view=rev
Log:
Handle memmove intrinsic.
Modified:
poolalloc/trunk/lib/AssistDS/TypeChecks.cpp
Modified: poolalloc/trunk/lib/AssistDS/TypeChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/TypeChecks.cpp?rev=130063&r1=130062&r2=130063&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/TypeChecks.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/TypeChecks.cpp Sat Apr 23 12:28:39 2011
@@ -289,6 +289,7 @@
CS.getInstruction()->dump();
switch(F->getIntrinsicID()) {
case Intrinsic::memcpy:
+ case Intrinsic::memmove:
{
CastInst *BCI_Src = BitCastInst::CreatePointerCast(I->getOperand(2), VoidPtrTy, "", I);
CastInst *BCI_Dest = BitCastInst::CreatePointerCast(I->getOperand(1), VoidPtrTy, "", I);
@@ -302,7 +303,6 @@
break;
}
- case Intrinsic::memmove:
case Intrinsic::memset:
break;
}
More information about the llvm-commits
mailing list