diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-12 01:17:08 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-12 01:17:08 +0000 |
commit | e9ffb45b604b5956d59238f3bb69db4d856ec733 (patch) | |
tree | 1101a537118b00405b414a98b83e0ff7f6374fca /llvm/lib/Target/NVPTX/NVPTXUtilities.cpp | |
parent | 93db40a147a219f6b5a60bdfe34afae33545deed (diff) | |
download | bcm5719-llvm-e9ffb45b604b5956d59238f3bb69db4d856ec733.tar.gz bcm5719-llvm-e9ffb45b604b5956d59238f3bb69db4d856ec733.zip |
Fix typos.
Summary: This fixes a variety of typos in docs, code and headers.
Subscribers: jholewinski, sanjoy, arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D12626
llvm-svn: 247495
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXUtilities.cpp')
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXUtilities.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp b/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp index 51782c66155..c293058ffc6 100644 --- a/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp @@ -357,8 +357,8 @@ bool llvm::isMemorySpaceTransferIntrinsic(Intrinsic::ID id) { } // consider several special intrinsics in striping pointer casts, and -// provide an option to ignore GEP indicies for find out the base address only -// which could be used in simple alias disambigurate. +// provide an option to ignore GEP indices for find out the base address only +// which could be used in simple alias disambiguation. const Value * llvm::skipPointerTransfer(const Value *V, bool ignore_GEP_indices) { V = V->stripPointerCasts(); @@ -379,9 +379,9 @@ llvm::skipPointerTransfer(const Value *V, bool ignore_GEP_indices) { } // consider several special intrinsics in striping pointer casts, and -// - ignore GEP indicies for find out the base address only, and +// - ignore GEP indices for find out the base address only, and // - tracking PHINode -// which could be used in simple alias disambigurate. +// which could be used in simple alias disambiguation. const Value * llvm::skipPointerTransfer(const Value *V, std::set<const Value *> &processed) { if (processed.find(V) != processed.end()) @@ -428,7 +428,7 @@ llvm::skipPointerTransfer(const Value *V, std::set<const Value *> &processed) { return V; } -// The following are some useful utilities for debuggung +// The following are some useful utilities for debugging BasicBlock *llvm::getParentBlock(Value *v) { if (BasicBlock *B = dyn_cast<BasicBlock>(v)) @@ -484,7 +484,7 @@ Instruction *llvm::getInst(Value *base, char *instName) { return nullptr; } -// Dump an instruction by nane +// Dump an instruction by name void llvm::dumpInst(Value *base, char *instName) { Instruction *I = getInst(base, instName); if (I) |