diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-09 20:02:42 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-09 20:02:42 +0000 |
| commit | 213209a2486983c7620289ebae67e3ffd5bc653d (patch) | |
| tree | 0728ed1832a7523448cba698cf0001f172c42dc0 /llvm/lib/CodeGen | |
| parent | ea0aa2868f534428f694f1e90bb3bd54684f217e (diff) | |
| download | bcm5719-llvm-213209a2486983c7620289ebae67e3ffd5bc653d.tar.gz bcm5719-llvm-213209a2486983c7620289ebae67e3ffd5bc653d.zip | |
remove dbg_declare, it's not used yet.
llvm-svn: 26659
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/IntrinsicLowering.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp index a02d4649814..82ca3c254b2 100644 --- a/llvm/lib/CodeGen/IntrinsicLowering.cpp +++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp @@ -402,7 +402,6 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { case Intrinsic::dbg_stoppoint: case Intrinsic::dbg_region_start: case Intrinsic::dbg_region_end: - case Intrinsic::dbg_declare: case Intrinsic::dbg_func_start: if (CI->getType() != Type::VoidTy) CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 58cf1853ca7..26a87179991 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1003,10 +1003,6 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { if (I.getType() != Type::VoidTy) setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType()))); return 0; - case Intrinsic::dbg_declare: - if (I.getType() != Type::VoidTy) - setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType()))); - return 0; case Intrinsic::isunordered_f32: case Intrinsic::isunordered_f64: |

