summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-09-12 16:59:47 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-09-12 16:59:47 +0000
commit67c8978617c3bce9d07210f93f6c64c715f77695 (patch)
tree474ba0af41beb3d595bc350bec57754103e3661f /lib/CodeGen/RegAllocGreedy.cpp
parentba9d069d797fbe204470c18a5f15e7f3cf763e0b (diff)
downloadllvm-67c8978617c3bce9d07210f93f6c64c715f77695.tar.gz
llvm-67c8978617c3bce9d07210f93f6c64c715f77695.tar.bz2
llvm-67c8978617c3bce9d07210f93f6c64c715f77695.tar.xz
Fix a couple of Doxygen comment issues pointed out by -Wdocumentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp
index c021a937b6..20ba804446 100644
--- a/lib/CodeGen/RegAllocGreedy.cpp
+++ b/lib/CodeGen/RegAllocGreedy.cpp
@@ -508,7 +508,7 @@ bool RAGreedy::shouldEvict(LiveInterval &A, bool IsHint,
///
/// @param VirtReg Live range that is about to be assigned.
/// @param PhysReg Desired register for assignment.
-/// @prarm IsHint True when PhysReg is VirtReg's preferred register.
+/// @param IsHint True when PhysReg is VirtReg's preferred register.
/// @param MaxCost Only look for cheaper candidates and update with new cost
/// when returning true.
/// @returns True when interference can be evicted cheaper than MaxCost.