From 8d9d1a0022dd6fd6e2250385dc696f7984132ec1 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 31 Jan 2012 01:58:48 +0000 Subject: Remove the now-dead llvm.eh.exception and llvm.eh.selector intrinsics. llvm-svn: 149331 --- llvm/lib/CodeGen/IntrinsicLowering.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp') diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp index 0f92c2d06bd..a9ca42f69b9 100644 --- a/llvm/lib/CodeGen/IntrinsicLowering.cpp +++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp @@ -448,11 +448,6 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { case Intrinsic::dbg_declare: break; // Simply strip out debugging intrinsics - case Intrinsic::eh_exception: - case Intrinsic::eh_selector: - CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); - break; - case Intrinsic::eh_typeid_for: // Return something different to eh_selector. CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); -- cgit v1.2.3