[PATCH] D131127: [llvm] Fixed a number of typos

Gabriel Ravier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 15:56:43 PDT 2022


GabrielRavier created this revision.
Herald added subscribers: mtrofin, Enna1, kosarev, mattd, gchakrabarti, pmatos, asb, asavonic, jeroen.dobbelaere, ormris, foad, frasercrmck, wenlei, okura, jdoerfert, kuter, kerbowa, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, dmgreen, Jim, asbirlea, jocewei, rupprecht, PkmX, tpr, the_o, brucehoult, MartinMosbeck, rogfer01, steven_wu, atanasyan, edward-jones, george.burgess.iv, zzheng, jrtc27, delcypher, niosHD, sabuasal, simoncook, johnrusso, rbar, fedor.sergeev, kbarton, hiraditya, jgravelle-google, arichardson, sbc100, mgorny, nhaehnle, jvesely, nemanjai, sdardis, emaste, dylanmckay, jyknight, dschuff, arsenm, qcolombet, MatzeB.
Herald added a reviewer: deadalnix.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
Herald added a project: All.
GabrielRavier requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, StephenFan, sstefan1, vkmr, aheejin, jholewinski.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.

I went over the output of the following mess of a command:

`(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)`

and proceeded to spend a few days looking at it to find probable typos
and fixed a few hundred of them in all of the llvm project (note, the
ones I found are not anywhere near all of them, but it seems like a
good start).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131127

Files:
  llvm/cmake/config.guess
  llvm/cmake/modules/AddLLVM.cmake
  llvm/cmake/modules/CoverageReport.cmake
  llvm/docs/GlobalISel/GMIR.rst
  llvm/docs/LangRef.rst
  llvm/docs/MemorySSA.rst
  llvm/include/llvm-c/Object.h
  llvm/include/llvm-c/Orc.h
  llvm/include/llvm/Analysis/BranchProbabilityInfo.h
  llvm/include/llvm/Analysis/LoopAccessAnalysis.h
  llvm/include/llvm/Analysis/LoopAnalysisManager.h
  llvm/include/llvm/Analysis/LoopCacheAnalysis.h
  llvm/include/llvm/Analysis/MLModelRunner.h
  llvm/include/llvm/Analysis/RegionInfo.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/include/llvm/CodeGen/DFAPacketizer.h
  llvm/include/llvm/CodeGen/LiveRangeCalc.h
  llvm/include/llvm/CodeGen/MIRPrinter.h
  llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
  llvm/include/llvm/CodeGen/RegisterBankInfo.h
  llvm/include/llvm/CodeGen/RegisterPressure.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
  llvm/include/llvm/ExecutionEngine/Orc/Core.h
  llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
  llvm/include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h
  llvm/include/llvm/ExecutionEngine/RuntimeDyld.h
  llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
  llvm/include/llvm/Frontend/OpenMP/OMPContext.h
  llvm/include/llvm/IR/GlobalValue.h
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/include/llvm/IR/PassManager.h
  llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
  llvm/include/llvm/MC/MCStreamer.h
  llvm/include/llvm/Support/BranchProbability.h
  llvm/include/llvm/Support/RWMutex.h
  llvm/include/llvm/Support/TypeName.h
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/include/llvm/Transforms/IPO/FunctionAttrs.h
  llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
  llvm/lib/Analysis/BasicAliasAnalysis.cpp
  llvm/lib/Analysis/DependenceAnalysis.cpp
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Analysis/LazyCallGraph.cpp
  llvm/lib/Analysis/TFUtils.cpp
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/BreakFalseDeps.cpp
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
  llvm/lib/CodeGen/LiveVariables.cpp
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/lib/CodeGen/ModuloSchedule.cpp
  llvm/lib/CodeGen/PrologEpilogInserter.cpp
  llvm/lib/CodeGen/RegisterCoalescer.cpp
  llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
  llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
  llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp
  llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
  llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  llvm/lib/ExecutionEngine/Orc/Core.cpp
  llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
  llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
  llvm/lib/IR/Attributes.cpp
  llvm/lib/IR/BuiltinGCs.cpp
  llvm/lib/IR/PassManager.cpp
  llvm/lib/IR/ReplaceConstant.cpp
  llvm/lib/MC/ELFObjectWriter.cpp
  llvm/lib/MC/MCParser/AsmLexer.cpp
  llvm/lib/MC/MCParser/AsmParser.cpp
  llvm/lib/MC/MCParser/ELFAsmParser.cpp
  llvm/lib/MC/WasmObjectWriter.cpp
  llvm/lib/Option/OptTable.cpp
  llvm/lib/ProfileData/MemProf.cpp
  llvm/lib/Support/FileUtilities.cpp
  llvm/lib/Support/Triple.cpp
  llvm/lib/Support/Unix/Path.inc
  llvm/lib/TableGen/Record.cpp
  llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
  llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
  llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
  llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
  llvm/lib/Target/ARM/ARMFrameLowering.cpp
  llvm/lib/Target/ARM/ARMSLSHardening.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  llvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
  llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
  llvm/lib/Target/AVR/AVRInstrInfo.cpp
  llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
  llvm/lib/Target/BPF/BPFInstrInfo.cpp
  llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
  llvm/lib/Target/CSKY/CSKYISelLowering.cpp
  llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
  llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
  llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  llvm/lib/Target/M68k/M68kInstrInfo.td
  llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
  llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
  llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  llvm/lib/Target/Mips/MipsISelLowering.cpp
  llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp
  llvm/lib/Target/PowerPC/PPCGenScalarMASSEntries.cpp
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
  llvm/lib/Target/PowerPC/PPCRegisterInfoMMA.td
  llvm/lib/Target/PowerPC/README_ALTIVEC.txt
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/Sparc/SparcInstrInfo.td
  llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
  llvm/lib/Target/WebAssembly/README.txt
  llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/lib/Target/X86/X86InstrFMA3Info.h
  llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
  llvm/lib/Target/X86/X86MCInstLower.cpp
  llvm/lib/Target/X86/X86PreAMXConfig.cpp
  llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp
  llvm/lib/Transforms/Coroutines/CoroSplit.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/lib/Transforms/IPO/PartialInlining.cpp
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
  llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/lib/Transforms/Scalar/LoopFuse.cpp
  llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
  llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
  llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
  llvm/lib/Transforms/Utils/CodeExtractor.cpp
  llvm/lib/Transforms/Utils/LoopPeel.cpp
  llvm/lib/Transforms/Utils/SymbolRewriter.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Analysis/BasicAA/modref.ll
  llvm/test/Analysis/DependenceAnalysis/SimpleSIVNoValidityCheckFixedSize.ll
  llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll
  llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll
  llvm/test/BugPoint/metadata.ll
  llvm/test/CodeGen/AArch64/argument-blocks-array-of-struct.ll
  llvm/test/CodeGen/AArch64/arm64-misched-basic-A57.ll
  llvm/test/CodeGen/AArch64/ccmp-successor-probs.mir
  llvm/test/CodeGen/AArch64/ifcvt-select.ll
  llvm/test/CodeGen/AArch64/swift-async-win.ll
  llvm/test/CodeGen/AArch64/tailcall_misched_graph.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-fast-math-flags.ll
  llvm/test/CodeGen/AMDGPU/collapse-endcf.mir
  llvm/test/CodeGen/AMDGPU/idot4u.ll
  llvm/test/CodeGen/AMDGPU/idot8u.ll
  llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
  llvm/test/CodeGen/AMDGPU/insert-delay-alu.mir
  llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll
  llvm/test/CodeGen/AMDGPU/schedule-global-loads.ll
  llvm/test/CodeGen/AMDGPU/scratch-buffer.ll
  llvm/test/CodeGen/AMDGPU/structurize1.ll
  llvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll
  llvm/test/CodeGen/AMDGPU/vtx-schedule.ll
  llvm/test/CodeGen/AVR/pseudo/FRMIDX.mir
  llvm/test/CodeGen/Hexagon/fp16.ll
  llvm/test/CodeGen/Hexagon/swp-epilog-phi7.ll
  llvm/test/CodeGen/Hexagon/swp-listen-loop3.ll
  llvm/test/CodeGen/M68k/Arith/mul64.ll
  llvm/test/CodeGen/M68k/CollapseMOVEM.mir
  llvm/test/CodeGen/PowerPC/ppc-vaarg-agg.ll
  llvm/test/CodeGen/PowerPC/ppc64-sibcall.ll
  llvm/test/CodeGen/PowerPC/store_fptoi.ll
  llvm/test/CodeGen/PowerPC/test-vector-insert.ll
  llvm/test/CodeGen/RISCV/frm-dependency.ll
  llvm/test/CodeGen/SystemZ/fp-const-10.ll
  llvm/test/CodeGen/Thumb2/2010-02-24-BigStack.ll
  llvm/test/CodeGen/Thumb2/thumb2-sub5.ll
  llvm/test/CodeGen/WebAssembly/exception.ll
  llvm/test/CodeGen/X86/2006-05-02-InstrSched1.ll
  llvm/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll
  llvm/test/CodeGen/X86/avx2-vbroadcast.ll
  llvm/test/CodeGen/X86/bitcnt-false-dep.ll
  llvm/test/CodeGen/X86/block-placement.ll
  llvm/test/CodeGen/X86/crash-lre-eliminate-dead-def.ll
  llvm/test/CodeGen/X86/dagcombine-shifts.ll
  llvm/test/CodeGen/X86/fptoui-may-overflow.ll
  llvm/test/CodeGen/X86/i386-tlscall-fastregalloc.ll
  llvm/test/CodeGen/X86/win64-funclet-preisel-intrinsics.ll
  llvm/test/CodeGen/X86/x86-no_caller_saved_registers-preserve.ll
  llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll
  llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
  llvm/test/DebugInfo/Generic/debug-info-enum.ll
  llvm/test/DebugInfo/MIR/X86/mlicm-hoist-pre-regalloc.mir
  llvm/test/DebugInfo/X86/dbg-value-funcarg3.ll
  llvm/test/DebugInfo/X86/dimodule-external-fortran.ll
  llvm/test/DebugInfo/macro_link.ll
  llvm/test/Instrumentation/SanitizerCoverage/gep-tracing.ll
  llvm/test/MC/AArch64/arm64-branch-encoding.s
  llvm/test/MC/ARM/mul-v4.s
  llvm/test/MC/AsmParser/directive_abort.s
  llvm/test/MC/ELF/section-sym.s
  llvm/test/MC/ELF/section-unique-err4.s
  llvm/test/MC/Hexagon/capitalizedEndloop.s
  llvm/test/MC/Mips/mt/module-directive.s
  llvm/test/MC/X86/align-via-relaxation.s
  llvm/test/Object/archive-update.test
  llvm/test/ThinLTO/X86/guid_collision.ll
  llvm/test/Transforms/ArgumentPromotion/profile.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
  llvm/test/Transforms/Attributor/dereferenceable-1.ll
  llvm/test/Transforms/Attributor/liveness.ll
  llvm/test/Transforms/CodeGenPrepare/AArch64/widen_switch.ll
  llvm/test/Transforms/DeadArgElim/aggregates.ll
  llvm/test/Transforms/DeadArgElim/call_profile.ll
  llvm/test/Transforms/EarlyCSE/fence.ll
  llvm/test/Transforms/EarlyCSE/invariant.start.ll
  llvm/test/Transforms/GlobalOpt/invariant.group.ll
  llvm/test/Transforms/GuardWidening/posion.ll
  llvm/test/Transforms/IndVarSimplify/lftr-dead-ivs.ll
  llvm/test/Transforms/Inline/inline_call.ll
  llvm/test/Transforms/InstCombine/memchr-10.ll
  (56 more files...)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131127.449818.patch
Type: text/x-patch
Size: 206294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220803/6f317ae6/attachment-0001.bin>


More information about the llvm-commits mailing list