Skip to content

Commit 619b888

Browse files
committed
[AMDGPU] Fix "Sequence" spelling. NFC.
1 parent 2433905 commit 619b888

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/AMDGPU/SIFoldOperands.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class SIFoldOperands : public MachineFunctionPass {
9797

9898
std::pair<const MachineOperand *, int> isOMod(const MachineInstr &MI) const;
9999
bool tryFoldOMod(MachineInstr &MI);
100-
bool tryFoldRegSeqence(MachineInstr &MI);
100+
bool tryFoldRegSequence(MachineInstr &MI);
101101
bool tryFoldLCSSAPhi(MachineInstr &MI);
102102
bool tryFoldLoad(MachineInstr &MI);
103103

@@ -489,7 +489,7 @@ static bool isUseSafeToFold(const SIInstrInfo *TII,
489489
//return !MI.hasRegisterImplicitUseOperand(UseMO.getReg());
490490
}
491491

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
493493
// for each subreg, tracking it to foldable inline immediate if possible.
494494
// Returns true on success.
495495
static bool getRegSeqInit(
@@ -1528,7 +1528,7 @@ bool SIFoldOperands::tryFoldOMod(MachineInstr &MI) {
15281528

15291529
// Try to fold a reg_sequence with vgpr output and agpr inputs into an
15301530
// instruction which can take an agpr. So far that means a store.
1531-
bool SIFoldOperands::tryFoldRegSeqence(MachineInstr &MI) {
1531+
bool SIFoldOperands::tryFoldRegSequence(MachineInstr &MI) {
15321532
assert(MI.isRegSequence());
15331533
auto Reg = MI.getOperand(0).getReg();
15341534

@@ -1741,7 +1741,7 @@ bool SIFoldOperands::runOnMachineFunction(MachineFunction &MF) {
17411741

17421742
tryFoldInst(TII, &MI);
17431743

1744-
if (MI.isRegSequence() && tryFoldRegSeqence(MI))
1744+
if (MI.isRegSequence() && tryFoldRegSequence(MI))
17451745
continue;
17461746

17471747
if (MI.isPHI() && tryFoldLCSSAPhi(MI))

0 commit comments

Comments
 (0)