Skip to content

Commit 5cc5b56

Browse files
author
git apple-llvm automerger
committed
Merge commit 'a094ad03f341' from llvm.org/main into next
2 parents b5b8701 + a094ad0 commit 5cc5b56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/X86/X86CmovConversion.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ bool X86CmovConverterPass::runOnMachineFunction(MachineFunction &MF) {
210210
//===--------------------------------------------------------------------===//
211211
// Register-operand Conversion Algorithm
212212
// ---------
213-
// For each inner most loop
213+
// For each innermost loop
214214
// collectCmovCandidates() {
215215
// Find all CMOV-group-candidates.
216216
// }
@@ -239,7 +239,7 @@ bool X86CmovConverterPass::runOnMachineFunction(MachineFunction &MF) {
239239
Loops.push_back(Child);
240240

241241
for (MachineLoop *CurrLoop : Loops) {
242-
// Optimize only inner most loops.
242+
// Optimize only innermost loops.
243243
if (!CurrLoop->getSubLoops().empty())
244244
continue;
245245

@@ -529,7 +529,7 @@ bool X86CmovConverterPass::checkForProfitableCmovCandidates(
529529
//===--------------------------------------------------------------------===//
530530
// Step 3: Check for each CMOV-group-candidate if it worth to be optimized.
531531
// Worth-Optimize-Group:
532-
// Iff it worths to optimize all CMOV instructions in the group.
532+
// Iff it is worth to optimize all CMOV instructions in the group.
533533
//
534534
// Worth-Optimize-CMOV:
535535
// Predicted branch is faster than CMOV by the difference between depth of

0 commit comments

Comments
 (0)