summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2015-11-17 08:54:53 +0000
committerJay Foad <jay.foad@gmail.com>2015-11-17 08:54:53 +0000
commitb64f0a5a1a957f0e3492e9c511b7a7cbb40637ac (patch)
tree489fbbacfeb3620420e218a55438da0c94074f16 /llvm
parent6727c015dcf3dc81957c515c0f6bd36a55925ad3 (diff)
downloadbcm5719-llvm-b64f0a5a1a957f0e3492e9c511b7a7cbb40637ac.tar.gz
bcm5719-llvm-b64f0a5a1a957f0e3492e9c511b7a7cbb40637ac.zip
Fix typos in comments.
llvm-svn: 253324
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MachineFrameInfo.h2
-rw-r--r--llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineFrameInfo.h b/llvm/include/llvm/CodeGen/MachineFrameInfo.h
index d1da6c344d7..f95cbdb49af 100644
--- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h
@@ -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
diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 1a9d988b2c1..6d53f876c06 100644
--- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
@@ -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
OpenPOWER on IntegriCloud