aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SimpleRegisterCoalescing.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-04-17 05:20:39 +0000
committerBill Wendling <isanbard@gmail.com>2008-04-17 05:20:39 +0000
commitf2317782697e05787dbae01c013bfdf642ed6299 (patch)
tree593c4a19ea1438f8b926d93f89defa7716bd8090 /lib/CodeGen/SimpleRegisterCoalescing.cpp
parent499c1bd358917ad64ed3dcc32492dd38e1a47706 (diff)
Use correct name for method in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index a1f06a22ed..3c69b25538 100644
--- a/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -613,10 +613,10 @@ static void PropagateDeadness(LiveInterval &li, MachineInstr *CopyMI,
}
}
-/// ShortenDeadCopyLiveRange - Shorten a live range as it's artificially
-/// extended by a dead copy. Mark the last use (if any) of the val# as kill
-/// as ends the live range there. If there isn't another use, then this
-/// live range is dead. Return true if live interval is removed.
+/// ShortenDeadCopySrcLiveRange - Shorten a live range as it's artificially
+/// extended by a dead copy. Mark the last use (if any) of the val# as kill as
+/// ends the live range there. If there isn't another use, then this live range
+/// is dead. Return true if live interval is removed.
bool
SimpleRegisterCoalescing::ShortenDeadCopySrcLiveRange(LiveInterval &li,
MachineInstr *CopyMI) {