From 65b3854e106e30b88f6b10e62a3448ac953b797a Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Sat, 29 Aug 2020 14:53:15 +0300 Subject: [PATCH] [NFC] Instruction::isIdenticalToWhenDefined(): s/nessesairly/necessarily/ --- llvm/lib/IR/Instruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/IR/Instruction.cpp b/llvm/lib/IR/Instruction.cpp index f091425..e1472a7 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(this)) { const PHINode *otherPHI = cast(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 -- 2.7.4