Index: llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp =================================================================== --- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp +++ llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp @@ -76,7 +76,7 @@ cl::opt llvm::ForgetSCEVInLoopUnroll( "forget-scev-loop-unroll", cl::init(false), cl::Hidden, cl::desc("Forget everything in SCEV when doing LoopUnroll, instead of just" - " the current top-most loop. This is somtimes preferred to reduce" + " the current top-most loop. This is sometimes preferred to reduce" " compile time.")); static cl::opt @@ -1041,7 +1041,7 @@ return LoopUnrollResult::Unmodified; } - // When automtatic unrolling is disabled, do not unroll unless overridden for + // When automatic unrolling is disabled, do not unroll unless overridden for // this loop. if (OnlyWhenForced && !(TM & TM_Enable)) return LoopUnrollResult::Unmodified; @@ -1103,7 +1103,7 @@ // If the loop contains a convergent operation, the prelude we'd add // to do the first few instructions before we hit the unrolled loop // is unsafe -- it adds a control-flow dependency to the convergent - // operation. Therefore restrict remainder loop (try unrollig without). + // operation. Therefore restrict remainder loop (try unrolling without). // // TODO: This is quite conservative. In practice, convergent_op() // is likely to be called unconditionally in the loop. In this