From b2cd98d5fe7ab71415f2a87c741ebf62a7e3ba54 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Mon, 21 Jun 2021 13:49:08 -0500 Subject: [PATCH] [SystemZ] Fix some typos in comments. --- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 53a6ee9..7e0b012 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -7423,7 +7423,7 @@ MachineBasicBlock *SystemZTargetLowering::emitAtomicLoadBinary( // StartMBB: // ... // %OrigVal = L Disp(%Base) - // # fall through to LoopMMB + // # fall through to LoopMBB MBB = StartMBB; BuildMI(MBB, DL, TII->get(LOpcode), OrigVal).add(Base).addImm(Disp).addReg(0); MBB->addSuccessor(LoopMBB); @@ -7435,7 +7435,7 @@ MachineBasicBlock *SystemZTargetLowering::emitAtomicLoadBinary( // %NewVal = RLL %RotatedNewVal, 0(%NegBitShift) // %Dest = CS %OldVal, %NewVal, Disp(%Base) // JNE LoopMBB - // # fall through to DoneMMB + // # fall through to DoneMBB MBB = LoopMBB; BuildMI(MBB, DL, TII->get(SystemZ::PHI), OldVal) .addReg(OrigVal).addMBB(StartMBB) @@ -7543,7 +7543,7 @@ MachineBasicBlock *SystemZTargetLowering::emitAtomicLoadMinMax( // StartMBB: // ... // %OrigVal = L Disp(%Base) - // # fall through to LoopMMB + // # fall through to LoopMBB MBB = StartMBB; BuildMI(MBB, DL, TII->get(LOpcode), OrigVal).add(Base).addImm(Disp).addReg(0); MBB->addSuccessor(LoopMBB); @@ -7569,7 +7569,7 @@ MachineBasicBlock *SystemZTargetLowering::emitAtomicLoadMinMax( // UseAltMBB: // %RotatedAltVal = RISBG %RotatedOldVal, %Src2, 32, 31 + BitSize, 0 - // # fall through to UpdateMMB + // # fall through to UpdateMBB MBB = UseAltMBB; if (IsSubWord) BuildMI(MBB, DL, TII->get(SystemZ::RISBG32), RotatedAltVal) @@ -7583,7 +7583,7 @@ MachineBasicBlock *SystemZTargetLowering::emitAtomicLoadMinMax( // %NewVal = RLL %RotatedNewVal, 0(%NegBitShift) // %Dest = CS %OldVal, %NewVal, Disp(%Base) // JNE LoopMBB - // # fall through to DoneMMB + // # fall through to DoneMBB MBB = UpdateMBB; BuildMI(MBB, DL, TII->get(SystemZ::PHI), RotatedNewVal) .addReg(RotatedOldVal).addMBB(LoopMBB) @@ -7652,7 +7652,7 @@ SystemZTargetLowering::emitAtomicCmpSwapW(MachineInstr &MI, // StartMBB: // ... // %OrigOldVal = L Disp(%Base) - // # fall through to LoopMMB + // # fall through to LoopMBB MBB = StartMBB; BuildMI(MBB, DL, TII->get(LOpcode), OrigOldVal) .add(Base) @@ -7699,7 +7699,7 @@ SystemZTargetLowering::emitAtomicCmpSwapW(MachineInstr &MI, // ^^ Rotate the new field to its proper position. // %RetryOldVal = CS %OldVal, %StoreVal, Disp(%Base) // JNE LoopMBB - // # fall through to ExitMMB + // # fall through to ExitMBB MBB = SetMBB; BuildMI(MBB, DL, TII->get(SystemZ::RLL), StoreVal) .addReg(RetrySwapVal).addReg(NegBitShift).addImm(-BitSize); @@ -7878,7 +7878,7 @@ MachineBasicBlock *SystemZTargetLowering::emitMemMemWrapper( // %NextCountReg = AGHI %ThisCountReg, -1 // CGHI %NextCountReg, 0 // JLH LoopMBB - // # fall through to DoneMMB + // # fall through to DoneMBB // // The AGHI, CGHI and JLH should be converted to BRCTG by later passes. MBB = NextMBB; @@ -7987,7 +7987,7 @@ MachineBasicBlock *SystemZTargetLowering::emitStringWrapper( MachineBasicBlock *LoopMBB = SystemZ::emitBlockAfter(StartMBB); // StartMBB: - // # fall through to LoopMMB + // # fall through to LoopMBB MBB->addSuccessor(LoopMBB); // LoopMBB: @@ -7996,7 +7996,7 @@ MachineBasicBlock *SystemZTargetLowering::emitStringWrapper( // R0L = %CharReg // %End1Reg, %End2Reg = CLST %This1Reg, %This2Reg -- uses R0L // JO LoopMBB - // # fall through to DoneMMB + // # fall through to DoneMBB // // The load of R0L can be hoisted by post-RA LICM. MBB = LoopMBB; -- 2.7.4