diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h index 5ad523fdf41..0f40550544a 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 c5c6f6cd339..5ba1018d5c4 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, diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 2becef95b95..caa81c4c5fc 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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, diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h index 83eae156b7e..b99a09be7ce 100644 --- a/lib/Target/X86/X86ISelLowering.h +++ b/lib/Target/X86/X86ISelLowering.h @@ -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,