[NFC] Fix typo in comment
authorMax Kazantsev <mkazantsev@azul.com>
Mon, 6 Mar 2023 08:11:56 +0000 (15:11 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Mon, 6 Mar 2023 08:11:56 +0000 (15:11 +0700)
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp

index 40ea343cfa24fae5513122303f94ac3cf167caae..dee14c034576bb4ede981b909b153a7884987da6 100644 (file)
@@ -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",