Add @llvm.assume, lowering, and some basic properties
[oota-llvm.git] / lib / CodeGen / IntrinsicLowering.cpp
index a8b860034f490cec8ab5170028f7da9444023037..9df8f3c89e7ef9a383ae134d050e8f1c7b1857ca 100644 (file)
@@ -459,9 +459,10 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
     CI->replaceAllUsesWith(CI->getOperand(0));
     break;
 
+  case Intrinsic::assume:
   case Intrinsic::var_annotation:
-    break;   // Strip out annotate intrinsic
-    
+    break;   // Strip out these intrinsics
   case Intrinsic::memcpy: {
     Type *IntPtr = DL.getIntPtrType(Context);
     Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,