[llvm-commits] CVS: llvm/lib/CodeGen/IntrinsicLowering.cpp

Jim Laskey jlaskey at apple.com
Mon Mar 13 05:07:56 PST 2006



Changes in directory llvm/lib/CodeGen:

IntrinsicLowering.cpp updated: 1.41 -> 1.42
---
Log message:

Handle the removal of the debug chain.


---
Diffs of the changes:  (+0 -2)

 IntrinsicLowering.cpp |    2 --
 1 files changed, 2 deletions(-)


Index: llvm/lib/CodeGen/IntrinsicLowering.cpp
diff -u llvm/lib/CodeGen/IntrinsicLowering.cpp:1.41 llvm/lib/CodeGen/IntrinsicLowering.cpp:1.42
--- llvm/lib/CodeGen/IntrinsicLowering.cpp:1.41	Thu Mar  9 14:02:42 2006
+++ llvm/lib/CodeGen/IntrinsicLowering.cpp	Mon Mar 13 07:07:37 2006
@@ -403,8 +403,6 @@
   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:






More information about the llvm-commits mailing list