diff options
author | Devang Patel <dpatel@apple.com> | 2011-12-09 01:18:48 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-12-09 01:18:48 +0000 |
commit | 2f9a0e1b8644ba10cca6c00a0e2ed1ffebddfc26 (patch) | |
tree | 73236d1dcd909c4c5673e30e171be979163e01ba /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 053a724483dcb9707e06462018c352b9a4bda2af (diff) | |
download | bcm5719-llvm-2f9a0e1b8644ba10cca6c00a0e2ed1ffebddfc26.tar.gz bcm5719-llvm-2f9a0e1b8644ba10cca6c00a0e2ed1ffebddfc26.zip |
Update stale comment.
llvm-svn: 146220
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineSink.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp index dff81093634..c4a533b09b4 100644 --- a/llvm/lib/CodeGen/MachineSink.cpp +++ b/llvm/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 |