summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2020-01-06 10:15:44 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2020-01-06 10:50:26 +0000
commitd68904f957ae1f9b2309bdbf34258387c045ce27 (patch)
tree496a194e2caa3ef5f0fb60f2ae6cb75d360fe16d /llvm/lib/Transforms/Utils
parent7180d9568df7d9198a75cfb5a156d9e60329794a (diff)
downloadbcm5719-llvm-d68904f957ae1f9b2309bdbf34258387c045ce27.tar.gz
bcm5719-llvm-d68904f957ae1f9b2309bdbf34258387c045ce27.zip
[NFC] Fix trivial typos in comments
Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D72143 Patch by Kazuaki Ishizaki.
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/AddDiscriminators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/AddDiscriminators.cpp b/llvm/lib/Transforms/Utils/AddDiscriminators.cpp
index d58e6eb26ff..0908b361a4d 100644
--- a/llvm/lib/Transforms/Utils/AddDiscriminators.cpp
+++ b/llvm/lib/Transforms/Utils/AddDiscriminators.cpp
@@ -233,7 +233,7 @@ static bool addDiscriminators(Function &F) {
LocationSet CallLocations;
for (auto &I : B.getInstList()) {
// We bypass intrinsic calls for the following two reasons:
- // 1) We want to avoid a non-deterministic assigment of
+ // 1) We want to avoid a non-deterministic assignment of
// discriminators.
// 2) We want to minimize the number of base discriminators used.
if (!isa<InvokeInst>(I) && (!isa<CallInst>(I) || isa<IntrinsicInst>(I)))
OpenPOWER on IntegriCloud