From: Chris Lattner Date: Sat, 3 Dec 2005 18:50:48 +0000 (+0000) Subject: dbg.stoppoint returns a value, don't forget to init it X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d67b3a8bf75d4d3c50263960a9375e6856588f2c;p=oota-llvm.git dbg.stoppoint returns a value, don't forget to init it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24583 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 30d94337e91..1d92bcb4f7d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -891,6 +891,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { Ops.push_back(DAG.getString(fname)); Ops.push_back(DAG.getString("")); DAG.setRoot(DAG.getNode(ISD::LOCATION, MVT::Other, Ops)); + setValue(&I, DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType()))); return 0; } case Intrinsic::dbg_region_start: