Fix spelling

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2013-08-15 23:11:03 +00:00
parent f0b274facf
commit c34540aa86
2 changed files with 9 additions and 9 deletions

View File

@ -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);

View File

@ -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) {}