[NFC] Instruction::isIdenticalToWhenDefined(): s/nessesairly/necessarily/
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 29 Aug 2020 11:53:15 +0000 (14:53 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 29 Aug 2020 12:10:13 +0000 (15:10 +0300)
llvm/lib/IR/Instruction.cpp

index f091425..e1472a7 100644 (file)
@@ -486,7 +486,7 @@ bool Instruction::isIdenticalToWhenDefined(const Instruction *I) const {
   // PHI nodes are special.
   if (const PHINode *thisPHI = dyn_cast<PHINode>(this)) {
     const PHINode *otherPHI = cast<PHINode>(I);
-    // PHI nodes don't nessesairly have their operands in the same order,
+    // PHI nodes don't necessarily have their operands in the same order,
     // so we shouldn't just compare ranges of incoming blocks/values.
 
     // If both PHI's are in the same basic block, which is the most interesting