From: Max Kazantsev Date: Mon, 6 Mar 2023 08:11:56 +0000 (+0700) Subject: [NFC] Fix typo in comment X-Git-Tag: upstream/17.0.6~15812 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd4dd501166627527302d8fa2bc172ba0258f92d;p=platform%2Fupstream%2Fllvm.git [NFC] Fix typo in comment --- diff --git a/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp index 40ea343cfa24..dee14c034576 100644 --- a/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp +++ b/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp @@ -3013,7 +3013,7 @@ injectPendingInvariantConditions(NonTrivialUnswitchCandidate Candidate, Loop &L, auto &Ctx = BB->getContext(); assert(LHS->getType() == RHS->getType() && "Type mismatch!"); - // Do not use builder here: CreateICmp may simplify this intro a constant and + // Do not use builder here: CreateICmp may simplify this into a constant and // unswitching will break. Better optimize it away later. auto *InjectedCond = ICmpInst::Create(Instruction::ICmp, Pred, LHS, RHS, "injected.cond",