Skip to content

Commit d6fc7d3

Browse files
committed
Fix typo "intead"
1 parent 95f4aa4 commit d6fc7d3

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

libc/src/string/string_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// Standalone string utility functions. Utilities requiring memory allocations
10-
// should be placed in allocating_string_utils.h intead.
10+
// should be placed in allocating_string_utils.h instead.
1111
//
1212
//===----------------------------------------------------------------------===//
1313

libcxx/include/__chrono/formatter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ _LIBCPP_HIDE_FROM_ABI void __format_chrono_using_chrono_specs(
351351

352352
case _CharT('Y'):
353353
// Depending on the platform's libc the range of supported years is
354-
// limited. Intead of of testing all conditions use the internal
354+
// limited. Instead of of testing all conditions use the internal
355355
// implementation unconditionally.
356356
__formatter::__format_year(__sstr, __t.tm_year + 1900);
357357
break;

libcxx/include/__cxx03/__chrono/formatter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ _LIBCPP_HIDE_FROM_ABI void __format_chrono_using_chrono_specs(
350350

351351
case _CharT('Y'):
352352
// Depending on the platform's libc the range of supported years is
353-
// limited. Intead of of testing all conditions use the internal
353+
// limited. Instead of of testing all conditions use the internal
354354
// implementation unconditionally.
355355
__formatter::__format_year(__sstr, __t.tm_year + 1900);
356356
break;

llvm/include/llvm/CodeGen/MachineFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ class LLVM_ABI MachineFunction {
10101010
/// into \p MBB before \p InsertBefore.
10111011
///
10121012
/// Note: Does not perform target specific adjustments; consider using
1013-
/// TargetInstrInfo::duplicate() intead.
1013+
/// TargetInstrInfo::duplicate() instead.
10141014
MachineInstr &
10151015
cloneMachineInstrBundle(MachineBasicBlock &MBB,
10161016
MachineBasicBlock::iterator InsertBefore,

llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ void createRegisterFatbinFunction(Module &M, GlobalVariable *FatbinDesc,
575575

576576
// Create the destructor to unregister the image with the runtime. We cannot
577577
// use a standard global destructor after CUDA 9.2 so this must be called by
578-
// `atexit()` intead.
578+
// `atexit()` instead.
579579
IRBuilder<> DtorBuilder(BasicBlock::Create(C, "entry", DtorFunc));
580580
LoadInst *BinaryHandle = DtorBuilder.CreateAlignedLoad(
581581
PtrTy, BinaryHandleGlobal,

llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ bool AArch64MIPeepholeOpt::visitAND(
205205
//
206206
// The mov pseudo instruction could be expanded to multiple mov instructions
207207
// later. Let's try to split the constant operand of mov instruction into two
208-
// bitmask immediates. It makes only two AND instructions intead of multiple
208+
// bitmask immediates. It makes only two AND instructions instead of multiple
209209
// mov + and instructions.
210210

211211
return splitTwoPartImm<T>(
@@ -389,7 +389,7 @@ bool AArch64MIPeepholeOpt::visitADDSUB(
389389
//
390390
// The mov pseudo instruction could be expanded to multiple mov instructions
391391
// later. Let's try to split the constant operand of mov instruction into two
392-
// legal add/sub immediates. It makes only two ADD/SUB instructions intead of
392+
// legal add/sub immediates. It makes only two ADD/SUB instructions instead of
393393
// multiple `mov` + `and/sub` instructions.
394394

395395
// We can sometimes have ADDWrr WZR, MULi32imm that have not been constant

llvm/lib/Transforms/Utils/Local.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ static bool valueCoversEntireFragment(Type *ValTy, DbgVariableIntrinsic *DII) {
16451645

16461646
// We can't always calculate the size of the DI variable (e.g. if it is a
16471647
// VLA). Try to use the size of the alloca that the dbg intrinsic describes
1648-
// intead.
1648+
// instead.
16491649
if (DII->isAddressOfVariable()) {
16501650
// DII should have exactly 1 location when it is an address.
16511651
assert(DII->getNumVariableLocationOps() == 1 &&
@@ -1672,7 +1672,7 @@ static bool valueCoversEntireFragment(Type *ValTy, DbgVariableRecord *DVR) {
16721672

16731673
// We can't always calculate the size of the DI variable (e.g. if it is a
16741674
// VLA). Try to use the size of the alloca that the dbg intrinsic describes
1675-
// intead.
1675+
// instead.
16761676
if (DVR->isAddressOfVariable()) {
16771677
// DVR should have exactly 1 location when it is an address.
16781678
assert(DVR->getNumVariableLocationOps() == 1 &&

llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-segments.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Here we use yaml from ihex-elf-sections.yaml, but add single load
22
# segment containing all exported sections. In such case we should
3-
# use physical address of a section intead of virtual address. Physical
3+
# use physical address of a section instead of virtual address. Physical
44
# addresses start from 0x100000, so we create two additional 'ExtenededAddr'
55
# (03) record in the beginning of IHex file with that physical address
66
!ELF

0 commit comments

Comments
 (0)