@@ -76,7 +76,7 @@ using namespace llvm;
76
76
cl::opt<bool > llvm::ForgetSCEVInLoopUnroll (
77
77
" forget-scev-loop-unroll" , cl::init(false ), cl::Hidden,
78
78
cl::desc(" Forget everything in SCEV when doing LoopUnroll, instead of just"
79
- " the current top-most loop. This is somtimes preferred to reduce"
79
+ " the current top-most loop. This is sometimes preferred to reduce"
80
80
" compile time." ));
81
81
82
82
static cl::opt<unsigned >
@@ -1041,7 +1041,7 @@ static LoopUnrollResult tryToUnrollLoop(
1041
1041
return LoopUnrollResult::Unmodified;
1042
1042
}
1043
1043
1044
- // When automtatic unrolling is disabled, do not unroll unless overridden for
1044
+ // When automatic unrolling is disabled, do not unroll unless overridden for
1045
1045
// this loop.
1046
1046
if (OnlyWhenForced && !(TM & TM_Enable))
1047
1047
return LoopUnrollResult::Unmodified;
@@ -1103,7 +1103,7 @@ static LoopUnrollResult tryToUnrollLoop(
1103
1103
// If the loop contains a convergent operation, the prelude we'd add
1104
1104
// to do the first few instructions before we hit the unrolled loop
1105
1105
// is unsafe -- it adds a control-flow dependency to the convergent
1106
- // operation. Therefore restrict remainder loop (try unrollig without).
1106
+ // operation. Therefore restrict remainder loop (try unrolling without).
1107
1107
//
1108
1108
// TODO: This is quite conservative. In practice, convergent_op()
1109
1109
// is likely to be called unconditionally in the loop. In this
0 commit comments