aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2023-03-06 15:11:56 +0700
committerMax Kazantsev <mkazantsev@azul.com>2023-03-06 15:11:56 +0700
commitdd4dd501166627527302d8fa2bc172ba0258f92d (patch)
tree835558e5b8eb37cf8f753720d3a9330b71c3c400 /llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
parent2a5b13e72257ece120dfc663c5de7b73c355369c (diff)
downloadllvm-dd4dd501166627527302d8fa2bc172ba0258f92d.zip
llvm-dd4dd501166627527302d8fa2bc172ba0258f92d.tar.gz
llvm-dd4dd501166627527302d8fa2bc172ba0258f92d.tar.bz2
[NFC] Fix typo in comment
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
index 40ea343..dee14c0 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",