Skip to content

Commit 1e9d882

Browse files
Copilotdamyanp
andcommitted
Fix various typos in the codebase reported by linux packaging tools
Co-authored-by: damyanp <[email protected]>
1 parent 0debe27 commit 1e9d882

57 files changed

Lines changed: 92 additions & 92 deletions

Some content is hidden

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

docs/LangRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2927,7 +2927,7 @@ the same register to an output and an input. If this is not safe (e.g. if the
29272927
assembly contains two instructions, where the first writes to one output, and
29282928
the second reads an input and writes to a second output), then the "``&``"
29292929
modifier must be used (e.g. "``=&r``") to specify that the output is an
2930-
"early-clobber" output. Marking an ouput as "early-clobber" ensures that LLVM
2930+
"early-clobber" output. Marking an output as "early-clobber" ensures that LLVM
29312931
will not use the same register for any inputs (other than an input tied to this
29322932
output).
29332933

docs/SPIR-V.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,11 +1420,11 @@ placed in the ``Uniform`` or ``UniformConstant`` storage class.
14201420

14211421
- ``shared``
14221422

1423-
- This is a hint to the compiler. It will be ingored.
1423+
- This is a hint to the compiler. It will be ignored.
14241424

14251425
- ``volatile``
14261426

1427-
- This is a hint to the compiler. It will be ingored.
1427+
- This is a hint to the compiler. It will be ignored.
14281428

14291429
HLSL semantic and Vulkan ``Location``
14301430
-------------------------------------

include/dxc/Support/HLSLOptions.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def dump_dependencies : Flag<["-", "/"], "M">, Flags<[CoreOption, DriverOption]>
277277
def write_dependencies : Flag<["-", "/"], "MD">, Flags<[CoreOption, DriverOption]>,
278278
HelpText<"Write a file with .d extension that will contain the list of the compilation target dependencies.">;
279279
def write_dependencies_to : JoinedOrSeparate<["-", "/"], "MF">, MetaVarName<"<file>">, Flags<[CoreOption, DriverOption]>,
280-
HelpText<"Write the specfied file that will contain the list of the compilation target dependencies.">;
280+
HelpText<"Write the specified file that will contain the list of the compilation target dependencies.">;
281281
def external_lib : Separate<["-", "/"], "external">, Group<hlslcore_Group>, Flags<[DriverOption, RewriteOption, HelpHidden]>,
282282
HelpText<"External DLL name to load for compiler support">;
283283
def external_fn : Separate<["-", "/"], "external-fn">, Group<hlslcore_Group>, Flags<[DriverOption, RewriteOption, HelpHidden]>,
@@ -424,7 +424,7 @@ def fspv_use_unknown_image_format
424424
def fvk_auto_shift_bindings: Flag<["-"], "fvk-auto-shift-bindings">, Group<spirv_Group>, Flags<[CoreOption, DriverOption]>,
425425
HelpText<"Apply fvk-*-shift to resources without an explicit register assignment.">;
426426
def Wno_vk_ignored_features : Joined<["-"], "Wno-vk-ignored-features">, Group<spirv_Group>, Flags<[CoreOption, DriverOption, HelpHidden]>,
427-
HelpText<"Do not emit warnings for ingored features resulting from no Vulkan support">;
427+
HelpText<"Do not emit warnings for ignored features resulting from no Vulkan support">;
428428
def Wno_vk_emulated_features : Joined<["-"], "Wno-vk-emulated-features">, Group<spirv_Group>, Flags<[CoreOption, DriverOption, HelpHidden]>,
429429
HelpText<"Do not emit warnings for emulated features resulting from no direct mapping">;
430430
def fspv_print_all: Flag<["-"], "fspv-print-all">, Group<spirv_Group>, Flags<[CoreOption, DriverOption]>,
@@ -564,9 +564,9 @@ def res_may_alias : Flag<["-", "/"], "res-may-alias">, Flags<[CoreOption]>, Grou
564564
def res_may_alias_ : Flag<["-", "/"], "res_may_alias">, Flags<[CoreOption, HelpHidden]>, Group<hlslcomp_Group>,
565565
HelpText<"Assume that UAVs/SRVs may alias">;
566566
def all_resources_bound : Flag<["-", "/"], "all-resources-bound">, Flags<[CoreOption]>, Group<hlslcomp_Group>,
567-
HelpText<"Enables agressive flattening">;
567+
HelpText<"Enables aggressive flattening">;
568568
def all_resources_bound_ : Flag<["-", "/"], "all_resources_bound">, Flags<[CoreOption, HelpHidden]>, Group<hlslcomp_Group>,
569-
HelpText<"Enables agressive flattening">;
569+
HelpText<"Enables aggressive flattening">;
570570

571571
def setprivate : JoinedOrSeparate<["-", "/"], "setprivate">, Flags<[CoreOption, DriverOption]>, MetaVarName<"<file>">, Group<hlslutil_Group>,
572572
HelpText<"Private data to add to compiled shader blob">;

include/dxc/dxcapi.internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ CROSS_PLATFORM_UUIDOF(IDxcLangExtensions3,
276276
"A1B19880-FB1F-4920-9BC5-50356483BAC1")
277277
struct IDxcLangExtensions3 : public IDxcLangExtensions2 {
278278
public:
279-
/// Registers a semantic define which cannot be overriden using the flag
279+
/// Registers a semantic define which cannot be overridden using the flag
280280
/// -override-opt-semdefs
281281
virtual HRESULT STDMETHODCALLTYPE
282282
RegisterNonOptSemanticDefine(LPCWSTR name) = 0;

include/llvm/CodeGen/MachineScheduler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class MachineSchedRegistry
148148
class ScheduleDAGMI;
149149

150150
/// Define a generic scheduling policy for targets that don't provide their own
151-
/// MachineSchedStrategy. This can be overriden for each scheduling region
151+
/// MachineSchedStrategy. This can be overridden for each scheduling region
152152
/// before building the DAG.
153153
struct MachineSchedPolicy {
154154
// Allow the scheduler to disable register pressure tracking.

include/llvm/CodeGen/Passes.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ using legacy::PassManagerBase;
4242
///
4343
/// The PassConfig API prefers dealing with IDs because they are safer and more
4444
/// efficient. IDs decouple configuration from instantiation. This way, when a
45-
/// pass is overriden, it isn't unnecessarily instantiated. It is also unsafe to
45+
/// pass is overridden, it isn't unnecessarily instantiated. It is also unsafe to
4646
/// refer to a Pass pointer after adding it to a pass manager, which deletes
4747
/// redundant pass instances.
4848
///
@@ -194,7 +194,7 @@ class TargetPassConfig : public ImmutablePass {
194194
bool getEnableShrinkWrap() const;
195195

196196
/// Return true if the default global register allocator is in use and
197-
/// has not be overriden on the command line with '-regalloc=...'
197+
/// has not be overridden on the command line with '-regalloc=...'
198198
bool usingDefaultRegAlloc() const;
199199

200200
/// Add common target configurable passes that perform LLVM IR to IR
@@ -251,7 +251,7 @@ class TargetPassConfig : public ImmutablePass {
251251
/// codegen pass pipeline where targets may insert passes. Methods with
252252
/// out-of-line standard implementations are major CodeGen stages called by
253253
/// addMachinePasses. Some targets may override major stages when inserting
254-
/// passes is insufficient, but maintaining overriden stages is more work.
254+
/// passes is insufficient, but maintaining overridden stages is more work.
255255
///
256256

257257
/// addPreISelPasses - This method should add any "last minute" LLVM->LLVM
@@ -346,7 +346,7 @@ class TargetPassConfig : public ImmutablePass {
346346
/// machine verification pass afterwards.
347347
void addPass(Pass *P, bool verifyAfter = true, bool printAfter = true);
348348

349-
/// addMachinePasses helper to create the target-selected or overriden
349+
/// addMachinePasses helper to create the target-selected or overridden
350350
/// regalloc pass.
351351
FunctionPass *createRegAllocPass(bool Optimized);
352352

include/llvm/ExecutionEngine/Orc/ExecutionUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class LocalCXXRuntimeOverrides {
151151
return nullptr;
152152
}
153153

154-
/// Run any destructors recorded by the overriden __cxa_atexit function
154+
/// Run any destructors recorded by the overridden __cxa_atexit function
155155
/// (CXAAtExitOverride).
156156
void runDestructors();
157157

include/llvm/IR/LegacyPassNameParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class PassNameParser : public PassRegistrationListener,
5252
enumeratePasses();
5353
}
5454

55-
// ignorablePassImpl - Can be overriden in subclasses to refine the list of
55+
// ignorablePassImpl - Can be overridden in subclasses to refine the list of
5656
// which passes we want to include.
5757
//
5858
virtual bool ignorablePassImpl(const PassInfo *P) const { return false; }

include/llvm/MC/MCSchedule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct MCSchedModel {
166166

167167
// LoadLatency is the expected latency of load instructions.
168168
//
169-
// If MinLatency >= 0, this may be overriden for individual load opcodes by
169+
// If MinLatency >= 0, this may be overridden for individual load opcodes by
170170
// InstrItinerary OperandCycles.
171171
unsigned LoadLatency;
172172
static const unsigned DefaultLoadLatency = 4;
@@ -175,7 +175,7 @@ struct MCSchedModel {
175175
// See TargetInstrInfo::isHighLatencyDef().
176176
// By default, this is set to an arbitrarily high number of cycles
177177
// likely to have some impact on scheduling heuristics.
178-
// If MinLatency >= 0, this may be overriden by InstrItinData OperandCycles.
178+
// If MinLatency >= 0, this may be overridden by InstrItinData OperandCycles.
179179
unsigned HighLatency;
180180
static const unsigned DefaultHighLatency = 10;
181181

include/llvm/Pass.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ protected: raw_ostream *OSOverride; // HLSL Change
149149
///
150150
virtual bool doInitialization(Module &) { return false; }
151151

152-
/// doFinalization - Virtual method overriden by subclasses to do any
152+
/// doFinalization - Virtual method overridden by subclasses to do any
153153
/// necessary clean up after all passes have run.
154154
///
155155
virtual bool doFinalization(Module &) { return false; }
@@ -183,7 +183,7 @@ protected: raw_ostream *OSOverride; // HLSL Change
183183
void setResolver(AnalysisResolver *AR);
184184
AnalysisResolver *getResolver() const { return Resolver; }
185185

186-
/// getAnalysisUsage - This function should be overriden by passes that need
186+
/// getAnalysisUsage - This function should be overridden by passes that need
187187
/// analysis information to do their job. If a pass specifies that it uses a
188188
/// particular analysis result to this function, it can then use the
189189
/// getAnalysis<AnalysisType>() function, below.
@@ -278,7 +278,7 @@ class ModulePass : public Pass {
278278
Pass *createPrinterPass(raw_ostream &O,
279279
const std::string &Banner) const override;
280280

281-
/// runOnModule - Virtual method overriden by subclasses to process the module
281+
/// runOnModule - Virtual method overridden by subclasses to process the module
282282
/// being operated on.
283283
virtual bool runOnModule(Module &M) = 0;
284284

@@ -300,7 +300,7 @@ class ModulePass : public Pass {
300300
///
301301
class ImmutablePass : public ModulePass {
302302
public:
303-
/// initializePass - This method may be overriden by immutable passes to allow
303+
/// initializePass - This method may be overridden by immutable passes to allow
304304
/// them to perform various initialization actions they require. This is
305305
/// primarily because an ImmutablePass can "require" another ImmutablePass,
306306
/// and if it does, the overloaded version of initializePass may get access to
@@ -338,7 +338,7 @@ class FunctionPass : public Pass {
338338
Pass *createPrinterPass(raw_ostream &O,
339339
const std::string &Banner) const override;
340340

341-
/// runOnFunction - Virtual method overriden by subclasses to do the
341+
/// runOnFunction - Virtual method overridden by subclasses to do the
342342
/// per-function processing of the pass.
343343
///
344344
virtual bool runOnFunction(Function &F) = 0;
@@ -380,12 +380,12 @@ class BasicBlockPass : public Pass {
380380
///
381381
virtual bool doInitialization(Function &);
382382

383-
/// runOnBasicBlock - Virtual method overriden by subclasses to do the
383+
/// runOnBasicBlock - Virtual method overridden by subclasses to do the
384384
/// per-basicblock processing of the pass.
385385
///
386386
virtual bool runOnBasicBlock(BasicBlock &BB) = 0;
387387

388-
/// doFinalization - Virtual method overriden by BasicBlockPass subclasses to
388+
/// doFinalization - Virtual method overridden by BasicBlockPass subclasses to
389389
/// do any post processing needed after all passes have run.
390390
///
391391
virtual bool doFinalization(Function &);

0 commit comments

Comments
 (0)