diff --git a/lib/Target/R600/R600TextureIntrinsicsReplacer.cpp b/lib/Target/R600/R600TextureIntrinsicsReplacer.cpp index 3768ba007da..b069522cae7 100644 --- a/lib/Target/R600/R600TextureIntrinsicsReplacer.cpp +++ b/lib/Target/R600/R600TextureIntrinsicsReplacer.cpp @@ -35,9 +35,9 @@ class R600TextureIntrinsicsReplacer : FunctionType *TexSign; FunctionType *TexQSign; - void getAdjustementFromTextureTarget(unsigned TextureType, bool hasLOD, - unsigned SrcSelect[4], unsigned CT[4], - bool &useShadowVariant) { + void getAdjustmentFromTextureTarget(unsigned TextureType, bool hasLOD, + unsigned SrcSelect[4], unsigned CT[4], + bool &useShadowVariant) { enum TextureTypes { TEXTURE_1D = 1, TEXTURE_2D, @@ -174,8 +174,8 @@ class R600TextureIntrinsicsReplacer : }; bool useShadowVariant; - getAdjustementFromTextureTarget(TextureType, hasLOD, SrcSelect, CT, - useShadowVariant); + getAdjustmentFromTextureTarget(TextureType, hasLOD, SrcSelect, CT, + useShadowVariant); ReplaceCallInst(I, FT, useShadowVariant?ShadowInt:VanillaInt, SrcSelect, Offset, ResourceId, SamplerId, CT, Coord); @@ -198,8 +198,8 @@ class R600TextureIntrinsicsReplacer : }; bool useShadowVariant; - getAdjustementFromTextureTarget(TextureType, false, SrcSelect, CT, - useShadowVariant); + getAdjustmentFromTextureTarget(TextureType, false, SrcSelect, CT, + useShadowVariant); ReplaceCallInst(I, TexQSign, "llvm.R600.txf", SrcSelect, Offset, ResourceId, SamplerId, CT, Coord); diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 22a2519d67f..506346d3583 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -75,8 +75,8 @@ private: DebugLoc DbgLoc; }; -/// A helper class for numbering instructions in multible blocks. -/// Numbers starts at zero for each basic block. +/// A helper class for numbering instructions in multiple blocks. +/// Numbers start at zero for each basic block. struct BlockNumbering { BlockNumbering(BasicBlock *Bb) : BB(Bb), Valid(false) {}