diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-08-08 18:27:36 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-08-08 18:27:36 +0000 |
commit | df005cbe198160b541d473ebe18aee3572d1cf16 (patch) | |
tree | e158a70cfc8b09d08c8911ab5378e5b50929c011 /llvm/lib/Analysis/ScalarEvolutionExpander.cpp | |
parent | 9bb8ef03a2bf081e26400a3b21e9ff476a22c88f (diff) | |
download | llvm-df005cbe198160b541d473ebe18aee3572d1cf16.zip llvm-df005cbe198160b541d473ebe18aee3572d1cf16.tar.gz llvm-df005cbe198160b541d473ebe18aee3572d1cf16.tar.bz2 |
Fix some comment typos.
llvm-svn: 244402
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolutionExpander.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp index fee2a2d..fe2a2a5 100644 --- a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp +++ b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp @@ -1002,7 +1002,7 @@ static void hoistBeforePos(DominatorTree *DT, Instruction *InstToHoist, } /// \brief Check whether we can cheaply express the requested SCEV in terms of -/// the available PHI SCEV by truncation and/or invertion of the step. +/// the available PHI SCEV by truncation and/or inversion of the step. static bool canBeCheaplyTransformed(ScalarEvolution &SE, const SCEVAddRecExpr *Phi, const SCEVAddRecExpr *Requested, @@ -1836,7 +1836,7 @@ bool SCEVExpander::isHighCostExpansionHelper( if (auto *UDivExpr = dyn_cast<SCEVUDivExpr>(S)) { // If the divisor is a power of two and the SCEV type fits in a native - // integer, consider the divison cheap irrespective of whether it occurs in + // integer, consider the division cheap irrespective of whether it occurs in // the user code since it can be lowered into a right shift. if (auto *SC = dyn_cast<SCEVConstant>(UDivExpr->getRHS())) if (SC->getValue()->getValue().isPowerOf2()) { |