Skip to content

Commit 111fcb0

Browse files
committed
[llvm] Fix duplicate word typos. NFC
Those fixes were taken from https://reviews.llvm.org/D137338
1 parent 9f3e3ef commit 111fcb0

File tree

118 files changed

+141
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+141
-141
lines changed

llvm/docs/PDB/DbiStream.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ record in the array has the format:
210210
uint16_t Dirty : 1;
211211
// ``true`` if EC information is present for this module. EC is presumed to
212212
// stand for "Edit & Continue", which LLVM does not support. So this flag
213-
// will always be be false.
213+
// will always be false.
214214
uint16_t EC : 1;
215215
uint16_t Unused : 6;
216216
// Type Server Index for this module. This is assumed to be related to /Zi,

llvm/include/llvm/ADT/CombinationGenerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class CombinationGenerator {
7373
SmallVector<WrappingIterator<choice_type>, variable_smallsize>
7474
VariablesState;
7575

76-
// 'increment' of the the whole VariablesState is defined identically to the
76+
// 'increment' of the whole VariablesState is defined identically to the
7777
// increment of a number: starting from the least significant element,
7878
// increment it, and if it wrapped, then propagate that carry by also
7979
// incrementing next (more significant) element.

llvm/include/llvm/ADT/FloatingPointMode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ parseDenormalFPAttributeComponent(StringRef Str) {
197197
.Default(DenormalMode::Invalid);
198198
}
199199

200-
/// Return the name used for the denormal handling mode used by the the
200+
/// Return the name used for the denormal handling mode used by the
201201
/// expected names from the denormal-fp-math attribute.
202202
inline StringRef denormalModeKindName(DenormalMode::DenormalModeKind Mode) {
203203
switch (Mode) {

llvm/include/llvm/ADT/IntervalMap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ branchRoot(unsigned Position) {
12211221
unsigned size[Nodes];
12221222
IdxPair NewOffset(0, Position);
12231223

1224-
// Is is very common for the root node to be smaller than external nodes.
1224+
// It is very common for the root node to be smaller than external nodes.
12251225
if (Nodes == 1)
12261226
size[0] = rootSize;
12271227
else
@@ -1262,7 +1262,7 @@ splitRoot(unsigned Position) {
12621262
unsigned Size[Nodes];
12631263
IdxPair NewOffset(0, Position);
12641264

1265-
// Is is very common for the root node to be smaller than external nodes.
1265+
// It is very common for the root node to be smaller than external nodes.
12661266
if (Nodes == 1)
12671267
Size[0] = rootSize;
12681268
else
@@ -1814,7 +1814,7 @@ iterator::insertNode(unsigned Level, IntervalMapImpl::NodeRef Node, KeyT Stop) {
18141814

18151815
// Insert into the branch node at Level-1.
18161816
if (P.size(Level) == Branch::Capacity) {
1817-
// Branch node is full, handle handle the overflow.
1817+
// Branch node is full, handle the overflow.
18181818
assert(!SplitRoot && "Cannot overflow after splitting the root");
18191819
SplitRoot = overflow<Branch>(Level);
18201820
Level += SplitRoot;

llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ template <class BT> void BlockFrequencyInfoImpl<BT>::applyIterativeInference() {
13821382
if (ReachableBlocks.empty())
13831383
return;
13841384

1385-
// The map is used to to index successors/predecessors of reachable blocks in
1385+
// The map is used to index successors/predecessors of reachable blocks in
13861386
// the ReachableBlocks vector
13871387
DenseMap<const BlockT *, size_t> BlockIndex;
13881388
// Extract initial frequencies for the reachable blocks

llvm/include/llvm/Analysis/GuardUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bool parseWidenableBranch(const User *U, Value *&Condition,
4949
Value *&WidenableCondition, BasicBlock *&IfTrueBB,
5050
BasicBlock *&IfFalseBB);
5151

52-
/// Analgous to the above, but return the Uses so that that they can be
52+
/// Analogous to the above, but return the Uses so that they can be
5353
/// modified. Unlike previous version, Condition is optional and may be null.
5454
bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
5555
BasicBlock *&IfFalseBB);

llvm/include/llvm/Analysis/ScalarEvolution.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ class SCEVWrapPredicate final : public SCEVPredicate {
328328
/// If Signed is a function that takes an n-bit tuple and maps to the
329329
/// integer domain as the tuples value interpreted as twos complement,
330330
/// and Unsigned a function that takes an n-bit tuple and maps to the
331-
/// integer domain as as the base two value of input tuple, then a + b
331+
/// integer domain as the base two value of input tuple, then a + b
332332
/// has IncrementNUSW iff:
333333
///
334334
/// 0 <= Unsigned(a) + Signed(b) < 2^n

llvm/include/llvm/AsmParser/Parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ ParsedModuleAndIndex parseAssemblyFileWithIndexNoUpgradeDebugInfo(
9797

9898
/// This function is a main interface to the LLVM Assembly Parser. It parses
9999
/// an ASCII file that (presumably) contains LLVM Assembly code for a module
100-
/// summary. It returns a a ModuleSummaryIndex with the corresponding features.
100+
/// summary. It returns a ModuleSummaryIndex with the corresponding features.
101101
/// Note that this does not verify that the generated Index is valid, so you
102102
/// should run the verifier after parsing the file to check that it is okay.
103103
/// Parse LLVM Assembly Index from a file

llvm/include/llvm/BinaryFormat/MachO.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ struct dyld_chained_fixups_header {
10731073
};
10741074

10751075
/// dyld_chained_starts_in_image is embedded in LC_DYLD_CHAINED_FIXUPS payload.
1076-
/// Each each seg_info_offset entry is the offset into this struct for that
1076+
/// Each seg_info_offset entry is the offset into this struct for that
10771077
/// segment followed by pool of dyld_chain_starts_in_segment data.
10781078
struct dyld_chained_starts_in_image {
10791079
uint32_t seg_count;

llvm/include/llvm/CodeGen/CodeGenPassBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ template <typename DerivedT> class CodeGenPassBuilder {
288288
/// all virtual registers.
289289
///
290290
/// Note if the target overloads addRegAssignAndRewriteOptimized, this may not
291-
/// be honored. This is also not generally used for the the fast variant,
291+
/// be honored. This is also not generally used for the fast variant,
292292
/// where the allocation and rewriting are done in one pass.
293293
void addPreRewrite(AddMachinePass &) const {}
294294

0 commit comments

Comments
 (0)