diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-03-13 13:07:37 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-03-13 13:07:37 +0000 |
commit | acb6e342777a501ef6d9ac2e70d0c19086a6c2d7 (patch) | |
tree | 91e273bc0d11aa98f37f528c77188ee873a7ddf1 /llvm/lib/CodeGen/IntrinsicLowering.cpp | |
parent | fe4c7fb7ae934d1d2edf51b9ca762d378e2a2b77 (diff) | |
download | bcm5719-llvm-acb6e342777a501ef6d9ac2e70d0c19086a6c2d7.tar.gz bcm5719-llvm-acb6e342777a501ef6d9ac2e70d0c19086a6c2d7.zip |
Handle the removal of the debug chain.
llvm-svn: 26729
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IntrinsicLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp index 82ca3c254b2..316d1ad2f64 100644 --- a/llvm/lib/CodeGen/IntrinsicLowering.cpp +++ b/llvm/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: |