aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-13 13:07:37 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-13 13:07:37 +0000
commitf4321a3a438833dade457e24da6e1e6907cabcd5 (patch)
treec85d66c8eed932ec34c564ea47ab1fc2a30b1eeb /lib/CodeGen/IntrinsicLowering.cpp
parent2e8a77ff42a325463f40a67e46b2eeb9ce05a350 (diff)
Handle the removal of the debug chain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index 82ca3c254b..316d1ad2f6 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/lib/CodeGen/IntrinsicLowering.cpp
@@ -403,8 +403,6 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
case Intrinsic::dbg_region_start:
case Intrinsic::dbg_region_end:
case Intrinsic::dbg_func_start:
- if (CI->getType() != Type::VoidTy)
- CI->replaceAllUsesWith(Constant::getNullValue(CI->getType()));
break; // Simply strip out debugging intrinsics
case Intrinsic::memcpy_i32: