dbg.stoppoint returns a value, don't forget to init it
authorChris Lattner <sabre@nondot.org>
Sat, 3 Dec 2005 18:50:48 +0000 (18:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 3 Dec 2005 18:50:48 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24583 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 30d94337e9151580bae674b044e6482ffcd8097c..1d92bcb4f7d42fa81658ed1e85aca17551e17f0e 100644 (file)
@@ -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: