[PATCH] D157223: [Transforms] Fix typo in comments
Mehmet Eymen Ünay via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 6 04:31:06 PDT 2023
Eymay created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Eymay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157223
Files:
llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Index: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -6272,7 +6272,7 @@
bool createIterCountExpr(const SCEV *S,
const SCEVDbgValueBuilder &IterationCount,
ScalarEvolution &SE) {
- // SCEVs for SSA values are most frquently of the form
+ // SCEVs for SSA values are most frequently of the form
// {start,+,stride}, but sometimes they are ({start,+,stride} + %a + ..).
// This is because %a is a PHI node that is not the IV. However, these
// SCEVs have not been observed to result in debuginfo-lossy optimisations,
Index: llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
===================================================================
--- llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
+++ llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
@@ -249,7 +249,7 @@
Instruction *getIVIncOperand(Instruction *IncV, Instruction *InsertPos,
bool allowScale);
- /// Utility for hoisting \p IncV (with all subexpressions requried for its
+ /// Utility for hoisting \p IncV (with all subexpressions required for its
/// computation) before \p InsertPos. If \p RecomputePoisonFlags is set, drops
/// all poison-generating flags from instructions being hoisted and tries to
/// re-infer them in the new location. It should be used when we are going to
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157223.547561.patch
Type: text/x-patch
Size: 1589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230806/d62c3720/attachment.bin>
More information about the llvm-commits
mailing list