@@ -97,7 +97,7 @@ class SIFoldOperands : public MachineFunctionPass {
97
97
98
98
std::pair<const MachineOperand *, int > isOMod (const MachineInstr &MI) const ;
99
99
bool tryFoldOMod (MachineInstr &MI);
100
- bool tryFoldRegSeqence (MachineInstr &MI);
100
+ bool tryFoldRegSequence (MachineInstr &MI);
101
101
bool tryFoldLCSSAPhi (MachineInstr &MI);
102
102
bool tryFoldLoad (MachineInstr &MI);
103
103
@@ -489,7 +489,7 @@ static bool isUseSafeToFold(const SIInstrInfo *TII,
489
489
// return !MI.hasRegisterImplicitUseOperand(UseMO.getReg());
490
490
}
491
491
492
- // Find a def of the UseReg, check if it is a reg_seqence and find initializers
492
+ // Find a def of the UseReg, check if it is a reg_sequence and find initializers
493
493
// for each subreg, tracking it to foldable inline immediate if possible.
494
494
// Returns true on success.
495
495
static bool getRegSeqInit (
@@ -1528,7 +1528,7 @@ bool SIFoldOperands::tryFoldOMod(MachineInstr &MI) {
1528
1528
1529
1529
// Try to fold a reg_sequence with vgpr output and agpr inputs into an
1530
1530
// instruction which can take an agpr. So far that means a store.
1531
- bool SIFoldOperands::tryFoldRegSeqence (MachineInstr &MI) {
1531
+ bool SIFoldOperands::tryFoldRegSequence (MachineInstr &MI) {
1532
1532
assert (MI.isRegSequence ());
1533
1533
auto Reg = MI.getOperand (0 ).getReg ();
1534
1534
@@ -1741,7 +1741,7 @@ bool SIFoldOperands::runOnMachineFunction(MachineFunction &MF) {
1741
1741
1742
1742
tryFoldInst (TII, &MI);
1743
1743
1744
- if (MI.isRegSequence () && tryFoldRegSeqence (MI))
1744
+ if (MI.isRegSequence () && tryFoldRegSequence (MI))
1745
1745
continue ;
1746
1746
1747
1747
if (MI.isPHI () && tryFoldLCSSAPhi (MI))
0 commit comments