aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorPiotr Fusik <fox@scene.pl>2023-01-22 19:59:52 +0100
committerMark de Wever <koraq@xs4all.nl>2023-01-22 20:05:51 +0100
commit898b5c9f5e7715f3ea4bb0ca2a8f23c301efa9c2 (patch)
tree078caa44888e92a46e4af8a5673d77ed21c7d6e8 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent8e4dc4cfb81e8baf4692d78226fcac6e47acc133 (diff)
downloadllvm-898b5c9f5e7715f3ea4bb0ca2a8f23c301efa9c2.zip
llvm-898b5c9f5e7715f3ea4bb0ca2a8f23c301efa9c2.tar.gz
llvm-898b5c9f5e7715f3ea4bb0ca2a8f23c301efa9c2.tar.bz2
[NFC] Fix "form/from" typos
Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D142007
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index fee11ef..f696255 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -8485,7 +8485,7 @@ bool CodeGenPrepare::splitBranchCondition(Function &F, ModifyDT &ModifiedDT) {
// Replace the old BB with the new BB.
TBB->replacePhiUsesWith(&BB, TmpBB);
- // Add another incoming edge form the new BB.
+ // Add another incoming edge from the new BB.
for (PHINode &PN : FBB->phis()) {
auto *Val = PN.getIncomingValueForBlock(&BB);
PN.addIncoming(Val, TmpBB);