[llvm] r287486 - Fix comment typos. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 20 05:10:51 PST 2016


Author: rksimon
Date: Sun Nov 20 07:10:51 2016
New Revision: 287486

URL: http://llvm.org/viewvc/llvm-project?rev=287486&view=rev
Log:
Fix comment typos. NFC.

Identified by Pedro Giffuni in PR27636.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp?rev=287486&r1=287485&r2=287486&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp Sun Nov 20 07:10:51 2016
@@ -778,7 +778,7 @@ void PPCFrameLowering::emitPrologue(Mach
   assert((isPPC64 || !isSVR4ABI || !(!FrameSize && (MustSaveLR || HasFP))) &&
          "FrameSize must be >0 to save/restore the FP or LR for 32-bit SVR4.");
 
-  // Using the same bool variable as below to supress compiler warnings.
+  // Using the same bool variable as below to suppress compiler warnings.
   bool SingleScratchReg =
     findScratchRegister(&MBB, false, twoUniqueScratchRegsRequired(&MBB),
                         &ScratchReg, &TempReg);
@@ -1271,7 +1271,7 @@ void PPCFrameLowering::emitEpilogue(Mach
 
   int FPOffset = 0;
 
-  // Using the same bool variable as below to supress compiler warnings.
+  // Using the same bool variable as below to suppress compiler warnings.
   bool SingleScratchReg = findScratchRegister(&MBB, true, false, &ScratchReg,
                                               &TempReg);
   assert(SingleScratchReg &&




More information about the llvm-commits mailing list