aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-15 22:13:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-15 22:13:02 +0000
commit0ef8de30fa8dd317c8b45711fe144d39e51ecfa4 (patch)
tree356e103ff28ef2dab50925cc22433ac8a4673670 /include
parent6667646a568295f4cae79cf0aa32547c8558188f (diff)
Fix typos and comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h2
-rw-r--r--include/llvm/Target/TargetLowering.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index 5ad523fdf4..0f40550544 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -210,7 +210,7 @@ public:
return Objects[ObjectIdx+NumFixedObjects].Alignment;
}
- /// setObjectAlignment - Change the alignment of the spcified stack object...
+ /// setObjectAlignment - Change the alignment of the specified stack object...
void setObjectAlignment(int ObjectIdx, unsigned Align) {
assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() &&
"Invalid Object Idx!");
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index c5c6f6cd33..5ba1018d5c 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -512,7 +512,7 @@ public:
}
/// getOptimalMemOpType - Returns the target specific optimal type for load
- /// store operations as result of memset, memcpy, and memmove lowering.
+ /// and store operations as a result of memset, memcpy, and memmove lowering.
/// It returns MVT::iAny if SelectionDAG should be responsible for
/// determining it.
virtual MVT::ValueType getOptimalMemOpType(uint64_t Size, unsigned Align,