summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-01-31 01:58:48 +0000
committerBill Wendling <isanbard@gmail.com>2012-01-31 01:58:48 +0000
commit8d9d1a0022dd6fd6e2250385dc696f7984132ec1 (patch)
treea54e987e0fe51a8e5e2675339c27192fe7f41912 /llvm/lib/CodeGen/IntrinsicLowering.cpp
parentad1fccdb1c3ccedf501b5146e87227b1bc22e74f (diff)
downloadbcm5719-llvm-8d9d1a0022dd6fd6e2250385dc696f7984132ec1.tar.gz
bcm5719-llvm-8d9d1a0022dd6fd6e2250385dc696f7984132ec1.zip
Remove the now-dead llvm.eh.exception and llvm.eh.selector intrinsics.
llvm-svn: 149331
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/IntrinsicLowering.cpp5
1 files changed, 0 insertions, 5 deletions
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));
OpenPOWER on IntegriCloud