[llvm] 643e022 - [IR] Fix typo in comment. NFC
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 30 03:41:47 PDT 2022
Author: Fraser Cormack
Date: 2022-06-30T11:30:23+01:00
New Revision: 643e022c9ceda69ecbe9c5588aab772efda46521
URL: https://github.com/llvm/llvm-project/commit/643e022c9ceda69ecbe9c5588aab772efda46521
DIFF: https://github.com/llvm/llvm-project/commit/643e022c9ceda69ecbe9c5588aab772efda46521.diff
LOG: [IR] Fix typo in comment. NFC
Added:
Modified:
llvm/lib/IR/Value.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp
index d4294af100cee..3990536f3da59 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;
More information about the llvm-commits
mailing list