From: Eric Christopher Date: Mon, 2 May 2016 05:30:26 +0000 (+0000) Subject: Fix grammar and correct comment - the debug information wasn't incorrect, rather... X-Git-Tag: llvmorg-3.9.0-rc1~7303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94a9ee65c63155c81527fb05cc61f1d5432dfec5;p=platform%2Fupstream%2Fllvm.git Fix grammar and correct comment - the debug information wasn't incorrect, rather suboptimal. llvm-svn: 268211 --- diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 12aab9d..5486414 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -971,8 +971,8 @@ SDNode *SelectionDAG::FindNodeOrInsertPos(const FoldingSetNodeID &ID, case ISD::Constant: case ISD::ConstantFP: // Erase debug location from the node if the node is used at several - // different places to do not propagate one location to all uses as it - // leads to incorrect debug info. + // different places. Do not propagate one location to all uses as it + // will cause a worse single stepping debugging experience. if (N->getDebugLoc() != DL) N->setDebugLoc(DebugLoc()); break;