Fix typos in comments.
authorJay Foad <jay.foad@gmail.com>
Tue, 17 Nov 2015 08:54:53 +0000 (08:54 +0000)
committerJay Foad <jay.foad@gmail.com>
Tue, 17 Nov 2015 08:54:53 +0000 (08:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253324 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFrameInfo.h
lib/Target/PowerPC/PPCRegisterInfo.cpp

index d1da6c344d7ec8e5e0d8141c25ed9c5839a98667..f95cbdb49aff438c47f4faa8bd292429b7472cf1 100644 (file)
@@ -198,7 +198,7 @@ class MachineFrameInfo {
   /// This contains the size of the largest call frame if the target uses frame
   /// setup/destroy pseudo instructions (as defined in the TargetFrameInfo
   /// class).  This information is important for frame pointer elimination.
-  /// If is only valid during and after prolog/epilog code insertion.
+  /// It is only valid during and after prolog/epilog code insertion.
   unsigned MaxCallFrameSize;
 
   /// The prolog/epilog code inserter fills in this vector with each
index 1a9d988b2c1e71a35a43b3bcbe17008797045a8f..6d53f876c062b85fe36eb01a1432fa1669f34a13 100644 (file)
@@ -311,7 +311,7 @@ PPCRegisterInfo::getLargestLegalSuperClass(const TargetRegisterClass *RC,
 //===----------------------------------------------------------------------===//
 
 /// lowerDynamicAlloc - Generate the code for allocating an object in the
-/// current frame.  The sequence of code with be in the general form
+/// current frame.  The sequence of code will be in the general form
 ///
 ///   addi   R0, SP, \#frameSize ; get the address of the previous frame
 ///   stwxu  R0, SP, Rnegsize   ; add and update the SP with the negated size