summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM64/ARM64CollectLOH.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-04-09 14:47:27 +0000
committerAlp Toker <alp@nuanti.com>2014-04-09 14:47:27 +0000
commit16f98b255d213a7ca599c0d07119e96e96206ee9 (patch)
treeadf70fd6c649a0346917f39e229300d07724d4c9 /llvm/lib/Target/ARM64/ARM64CollectLOH.cpp
parent246b0b617d66d7e8107e3a5f9a4522ff7ec2afd2 (diff)
downloadbcm5719-llvm-16f98b255d213a7ca599c0d07119e96e96206ee9.tar.gz
bcm5719-llvm-16f98b255d213a7ca599c0d07119e96e96206ee9.zip
Fix some doc and comment typos
llvm-svn: 205899
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64CollectLOH.cpp')
-rw-r--r--llvm/lib/Target/ARM64/ARM64CollectLOH.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64CollectLOH.cpp b/llvm/lib/Target/ARM64/ARM64CollectLOH.cpp
index 7da500b9b5c..8a50c860a45 100644
--- a/llvm/lib/Target/ARM64/ARM64CollectLOH.cpp
+++ b/llvm/lib/Target/ARM64/ARM64CollectLOH.cpp
@@ -459,14 +459,14 @@ static void finitReachingDef(BlockToSetOfInstrsPerColor &In,
delete[] IT->second;
}
-/// Reaching definiton algorithm.
+/// Reaching definition algorithm.
/// \param MF function on which the algorithm will operate.
/// \param[out] ColorOpToReachedUses will contain the result of the reaching
/// def algorithm.
/// \param ADRPMode specify whether the reaching def algorithm should be tuned
/// for ADRP optimization. \see initReachingDef for more details.
/// \param DummyOp if not NULL, the algorithm will work at
-/// basic block scope and will set for every exposed defintion a use to
+/// basic block scope and will set for every exposed definition a use to
/// @p DummyOp.
/// \pre ColorOpToReachedUses is an array of at least number of registers of
/// InstrToInstrs.
@@ -584,7 +584,7 @@ static bool isCandidateStore(const MachineInstr *Instr) {
return false;
}
-/// Given the result of a reaching defintion algorithm in ColorOpToReachedUses,
+/// Given the result of a reaching definition algorithm in ColorOpToReachedUses,
/// Build the Use to Defs information and filter out obvious non-LOH candidates.
/// In ADRPMode, non-LOH candidates are "uses" with non-ADRP definitions.
/// In non-ADRPMode, non-LOH candidates are "uses" with several definition,
OpenPOWER on IntegriCloud