[IR] Fix typo in comment. NFC
authorFraser Cormack <fraser@codeplay.com>
Thu, 30 Jun 2022 10:30:12 +0000 (11:30 +0100)
committerFraser Cormack <fraser@codeplay.com>
Thu, 30 Jun 2022 10:30:23 +0000 (11:30 +0100)
llvm/lib/IR/Value.cpp

index d4294af..3990536 100644 (file)
@@ -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;