[PATCH] D89603: [NFC] fix some typos in LoopUnrollPass
Pedro Tammela via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 16:59:23 PDT 2020
tammela created this revision.
Herald added subscribers: llvm-commits, zzheng, hiraditya.
Herald added a project: LLVM.
tammela requested review of this revision.
This patch fixes a couple of typos in the LoopUnrollPass.cpp comments
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89603
Files:
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
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<bool> 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<unsigned>
@@ -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89603.298782.patch
Type: text/x-patch
Size: 1518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201016/a3d88538/attachment.bin>
More information about the llvm-commits
mailing list