aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Value.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2022-06-30 11:30:12 +0100
committerFraser Cormack <fraser@codeplay.com>2022-06-30 11:30:23 +0100
commit643e022c9ceda69ecbe9c5588aab772efda46521 (patch)
treed5b93081b9745905b732934ed1e16857c0840afc /llvm/lib/IR/Value.cpp
parent178f9bd63c9e0a207acc3ac2461ba53b99576e69 (diff)
downloadllvm-643e022c9ceda69ecbe9c5588aab772efda46521.zip
llvm-643e022c9ceda69ecbe9c5588aab772efda46521.tar.gz
llvm-643e022c9ceda69ecbe9c5588aab772efda46521.tar.bz2
[IR] Fix typo in comment. NFC
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
-rw-r--r--llvm/lib/IR/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp
index d4294af..3990536 100644
--- a/llvm/lib/IR/Value.cpp
+++ b/llvm/lib/IR/Value.cpp
@@ -408,7 +408,7 @@ void Value::takeName(Value *V) {
}
}
- // Get V's ST, this should always succed, because V has a name.
+ // Get V's ST, this should always succeed, because V has a name.
ValueSymbolTable *VST;
bool Failure = getSymTab(V, VST);
assert(!Failure && "V has a name, so it should have a ST!"); (void)Failure;