diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-01-31 01:58:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-01-31 01:58:48 +0000 |
commit | efd564fbd6b38964f717bf1c34f37f441eb5cf36 (patch) | |
tree | 68a0dff7586b8ac2e4442f89bd63866eda5ace3c /lib/CodeGen/IntrinsicLowering.cpp | |
parent | 13b1c31412372ef3790934ca213546fec595fbbc (diff) | |
download | llvm-efd564fbd6b38964f717bf1c34f37f441eb5cf36.tar.gz llvm-efd564fbd6b38964f717bf1c34f37f441eb5cf36.tar.bz2 llvm-efd564fbd6b38964f717bf1c34f37f441eb5cf36.tar.xz |
Remove the now-dead llvm.eh.exception and llvm.eh.selector intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | lib/CodeGen/IntrinsicLowering.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index 0f92c2d06b..a9ca42f69b 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/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)); |