aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorThomas Symalla <thomas.symalla@amd.com>2023-05-19 11:27:28 +0200
committerThomas Symalla <thomas.symalla@amd.com>2023-05-19 11:27:28 +0200
commitb819fd7e2c828b474e3cfab0ab8f1ed334d45679 (patch)
tree004906b950f8501406bd3d64d8431ce3b9454730 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent7ca1bcbc6043b7ab4635f04746d1b9480960e384 (diff)
downloadllvm-b819fd7e2c828b474e3cfab0ab8f1ed334d45679.zip
llvm-b819fd7e2c828b474e3cfab0ab8f1ed334d45679.tar.gz
llvm-b819fd7e2c828b474e3cfab0ab8f1ed334d45679.tar.bz2
[NFC] Fix typo in CodeGenPrepare.cpp
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 00b4658..3e8d0a4 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)