[llvm] b819fd7 - [NFC] Fix typo in CodeGenPrepare.cpp
Thomas Symalla via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 02:28:18 PDT 2023
Author: Thomas Symalla
Date: 2023-05-19T11:27:28+02:00
New Revision: b819fd7e2c828b474e3cfab0ab8f1ed334d45679
URL: https://github.com/llvm/llvm-project/commit/b819fd7e2c828b474e3cfab0ab8f1ed334d45679
DIFF: https://github.com/llvm/llvm-project/commit/b819fd7e2c828b474e3cfab0ab8f1ed334d45679.diff
LOG: [NFC] Fix typo in CodeGenPrepare.cpp
Added:
Modified:
llvm/lib/CodeGen/CodeGenPrepare.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 00b4658d1eed..3e8d0a4311d3 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -7119,7 +7119,7 @@ bool CodeGenPrepare::tryToSinkFreeOperands(Instruction *I) {
if (IsHugeFunc) {
// Now we clone an instruction, its operands' defs may sink to this BB
- // now. So we put the operands defs' BBs into FreshBBs to do optmization.
+ // now. So we put the operands defs' BBs into FreshBBs to do optimization.
for (unsigned I = 0; I < NI->getNumOperands(); ++I) {
auto *OpDef = dyn_cast<Instruction>(NI->getOperand(I));
if (!OpDef)
More information about the llvm-commits
mailing list