Fix typos and comments.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 15 May 2008 22:13:02 +0000 (22:13 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 15 May 2008 22:13:02 +0000 (22:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51165 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFrameInfo.h
include/llvm/Target/TargetLowering.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h

index 5ad523fdf4193b5d26c40479bf7c284d78f48fdc..0f40550544ae0a9cae59e0c595ac5efb9f1ab858 100644 (file)
@@ -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!");
index c5c6f6cd33914dac7784a480e3a7cf2e7bc8c03b..5ba1018d5c4861913baa3de1f7649b911404051f 100644 (file)
@@ -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,
index 2becef95b95e249c9b2f69492edfd96e12108523..caa81c4c5fc99fed1b48f44010c2ee85143a94e8 100644 (file)
@@ -788,8 +788,8 @@ unsigned X86TargetLowering::getByValTypeAlignment(const Type *Ty) const {
 }
 
 /// getOptimalMemOpType - Returns the target specific optimal type for load
-/// store operations as result of memset, memcpy, and memmove lowering.
-/// It returns MVT::iAny if SelectionDAG should be responsible for
+/// and store operations as a result of memset, memcpy, and memmove
+/// lowering. It returns MVT::iAny if SelectionDAG should be responsible for
 /// determining it.
 MVT::ValueType
 X86TargetLowering::getOptimalMemOpType(uint64_t Size, unsigned Align,
index 83eae156b7e461efb7bd97984e749dfdd26af59b..b99a09be7cede1b36a2836f7ed260cfc1ae314d3 100644 (file)
@@ -338,8 +338,8 @@ namespace llvm {
     virtual unsigned getByValTypeAlignment(const Type *Ty) const;
 
     /// getOptimalMemOpType - Returns the target specific optimal type for load
-    /// store operations as result of memset, memcpy, and memmove lowering.
-    /// It returns MVT::iAny if SelectionDAG should be responsible for
+    /// 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,