aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-07 00:16:14 -0700
committerKazu Hirata <kazu@google.com>2022-08-07 00:16:14 -0700
commita2d45017182a5b98a6a3c75de49e599d67c92fbb (patch)
treec12749f8b07f5c923b8f802330cc6bdae21cb69c /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parentaf2d2d775908734f2a71a70a24ad540760f2d88b (diff)
downloadllvm-a2d45017182a5b98a6a3c75de49e599d67c92fbb.zip
llvm-a2d45017182a5b98a6a3c75de49e599d67c92fbb.tar.gz
llvm-a2d45017182a5b98a6a3c75de49e599d67c92fbb.tar.bz2
[llvm] Fix comment typos (NFC)
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index bba8315..164a916 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -7016,7 +7016,7 @@ static bool removeUndefIntroducingPredecessor(BasicBlock *BB,
IRBuilder<> Builder(T);
if (BranchInst *BI = dyn_cast<BranchInst>(T)) {
BB->removePredecessor(Predecessor);
- // Turn uncoditional branches into unreachables and remove the dead
+ // Turn unconditional branches into unreachables and remove the dead
// destination from conditional branches.
if (BI->isUnconditional())
Builder.CreateUnreachable();