aboutsummaryrefslogtreecommitdiff
path: root/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
diff options
context:
space:
mode:
authorGabriel Ravier <gabravier@gmail.com>2022-08-07 22:53:09 +0800
committerYingChi Long <me@inclyc.cn>2022-08-07 22:56:07 +0800
commitea540bc21078ffc28435ad5802d2e821036744bd (patch)
tree2cd8e8c542bfc7a66e3eb2fad90d7a79e2436c99 /polly/lib/CodeGen/ManagedMemoryRewrite.cpp
parent82439b201a01707fd18f0d34a4b625132b9c7304 (diff)
downloadllvm-ea540bc21078ffc28435ad5802d2e821036744bd.zip
llvm-ea540bc21078ffc28435ad5802d2e821036744bd.tar.gz
llvm-ea540bc21078ffc28435ad5802d2e821036744bd.tar.bz2
[polly] Fixed a number of typos. NFC
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). Reviewed By: inclyc Differential Revision: https://reviews.llvm.org/D131167
Diffstat (limited to 'polly/lib/CodeGen/ManagedMemoryRewrite.cpp')
-rw-r--r--polly/lib/CodeGen/ManagedMemoryRewrite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/ManagedMemoryRewrite.cpp b/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
index e074917..9b8e773 100644
--- a/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
+++ b/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
@@ -163,7 +163,7 @@ static void rewriteOldValToNew(Instruction *Inst, Value *OldVal, Value *NewVal,
// in an expression.
// We need this auxiliary function, because if we have a
// `Constant` that is a user of `V`, we need to recurse into the
-// `Constant`s uses to gather the root instruciton.
+// `Constant`s uses to gather the root instruction.
static void getInstructionUsersOfValue(Value *V,
SmallVector<Instruction *, 4> &Owners) {
if (auto *I = dyn_cast<Instruction>(V)) {