[llvm] 65b3854 - [NFC] Instruction::isIdenticalToWhenDefined(): s/nessesairly/necessarily/

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 29 05:11:17 PDT 2020


Author: Roman Lebedev
Date: 2020-08-29T15:10:13+03:00
New Revision: 65b3854e106e30b88f6b10e62a3448ac953b797a

URL: https://github.com/llvm/llvm-project/commit/65b3854e106e30b88f6b10e62a3448ac953b797a
DIFF: https://github.com/llvm/llvm-project/commit/65b3854e106e30b88f6b10e62a3448ac953b797a.diff

LOG: [NFC] Instruction::isIdenticalToWhenDefined(): s/nessesairly/necessarily/

Added: 
    

Modified: 
    llvm/lib/IR/Instruction.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/IR/Instruction.cpp b/llvm/lib/IR/Instruction.cpp
index f09142530949..e1472a792f44 100644
--- a/llvm/lib/IR/Instruction.cpp
+++ b/llvm/lib/IR/Instruction.cpp
@@ -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


        


More information about the llvm-commits mailing list