diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2019-02-05 08:30:48 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2019-02-05 08:30:48 +0000 |
commit | 02a2bb2f54659e7830946bd20ee121ce7d80ff65 (patch) | |
tree | 8a5e425f5eaeb24395609d5934f142f58fa9c67d /llvm/lib/Analysis/InlineCost.cpp | |
parent | ccd4e5e01684f7f05ea329a475a0b7a62b311039 (diff) | |
download | llvm-02a2bb2f54659e7830946bd20ee121ce7d80ff65.zip llvm-02a2bb2f54659e7830946bd20ee121ce7d80ff65.tar.gz llvm-02a2bb2f54659e7830946bd20ee121ce7d80ff65.tar.bz2 |
[NFC] fix trivial typos in comments
llvm-svn: 353147
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
-rw-r--r-- | llvm/lib/Analysis/InlineCost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp index 57ffb2d..0e20739 100644 --- a/llvm/lib/Analysis/InlineCost.cpp +++ b/llvm/lib/Analysis/InlineCost.cpp @@ -76,7 +76,7 @@ static cl::opt<int> LocallyHotCallSiteThreshold( static cl::opt<int> ColdCallSiteRelFreq( "cold-callsite-rel-freq", cl::Hidden, cl::init(2), cl::ZeroOrMore, - cl::desc("Maxmimum block frequency, expressed as a percentage of caller's " + cl::desc("Maximum block frequency, expressed as a percentage of caller's " "entry frequency, for a callsite to be cold in the absence of " "profile information.")); @@ -1675,7 +1675,7 @@ ConstantInt *CallAnalyzer::stripAndComputeInBoundsConstantOffsets(Value *&V) { /// blocks to see if all their incoming edges are dead or not. void CallAnalyzer::findDeadBlocks(BasicBlock *CurrBB, BasicBlock *NextBB) { auto IsEdgeDead = [&](BasicBlock *Pred, BasicBlock *Succ) { - // A CFG edge is dead if the predecessor is dead or the predessor has a + // A CFG edge is dead if the predecessor is dead or the predecessor has a // known successor which is not the one under exam. return (DeadBlocks.count(Pred) || (KnownSuccessors[Pred] && KnownSuccessors[Pred] != Succ)); |