Page MenuHomePhabricator

[llvm] Fixed a number of typos
Needs ReviewPublic

Authored by GabrielRavier on Aug 3 2022, 3:56 PM.

Details

Summary

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).

Diff Detail

Event Timeline

GabrielRavier created this revision.Aug 3 2022, 3:56 PM
GabrielRavier requested review of this revision.Aug 3 2022, 3:56 PM

Thank you for the elaborate cleanup!

Drive-by comments, didn't get to all.

llvm/docs/GlobalISel/GMIR.rst
198 ↗(On Diff #449818)

One word, not a typo.

llvm/lib/IR/BuiltinGCs.cpp
62

addressspace

llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
1552 ↗(On Diff #449818)

addressspaces.

llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll
7

s/dependencies/dependences (consistent with above)

llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll
111

dependences

Fixed problems pointed out by asbirlea

The changes to tools, test/tools, and utils/lit all look good to me. I haven't checked anywhere else.