summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-12-09 01:18:48 +0000
committerDevang Patel <dpatel@apple.com>2011-12-09 01:18:48 +0000
commit2b1d77355bdeb9b7515b16bdd049c39ed78fca4b (patch)
tree1f11d91d6e8258d2a7b7c917dc9281a92339ff27
parent2dd0353fec61b412e521013049d6a03de29aa8c7 (diff)
downloadllvm-2b1d77355bdeb9b7515b16bdd049c39ed78fca4b.tar.gz
llvm-2b1d77355bdeb9b7515b16bdd049c39ed78fca4b.tar.bz2
llvm-2b1d77355bdeb9b7515b16bdd049c39ed78fca4b.tar.xz
Update stale comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146220 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/MachineSink.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp
index dff8109363..c4a533b09b 100644
--- a/lib/CodeGen/MachineSink.cpp
+++ b/lib/CodeGen/MachineSink.cpp
@@ -152,10 +152,7 @@ MachineSinking::AllUsesDominatedByBlock(unsigned Reg,
if (MRI->use_nodbg_empty(Reg))
return true;
- // Ignoring debug uses is necessary so debug info doesn't affect the code.
- // This may leave a referencing dbg_value in the original block, before
- // the definition of the vreg. Dwarf generator handles this although the
- // user might not get the right info at runtime.
+ // Ignoring debug uses because debug info doesn't affect the code.
// BreakPHIEdge is true if all the uses are in the successor MBB being sunken
// into and they are all PHI nodes. In this case, machine-sink must break