summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-05-23 21:04:01 +0000
committerCraig Topper <craig.topper@intel.com>2019-05-23 21:04:01 +0000
commitf53c502e0b5abb5a72bea5f7081baa45a8a99639 (patch)
tree4308c357d35d75d22fc144ef799dc9d860427498
parent987fdfd9a7197d4d1542817fd6c17b5fbb5856d7 (diff)
downloadbcm5719-llvm-f53c502e0b5abb5a72bea5f7081baa45a8a99639.tar.gz
bcm5719-llvm-f53c502e0b5abb5a72bea5f7081baa45a8a99639.zip
[TTI] Fix some typos in comments. NFC
'implementaion' -> 'implementation' 'non-unform' -> 'non-uniform' 'mimimum' -> 'minimum' Patch by Pavel Samolysov Differential Revision: https://reviews.llvm.org/D62136 llvm-svn: 361554
-rw-r--r--llvm/include/llvm/Analysis/TargetTransformInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Analysis/TargetTransformInfo.h b/llvm/include/llvm/Analysis/TargetTransformInfo.h
index 75f07989785..5a94bfad7e0 100644
--- a/llvm/include/llvm/Analysis/TargetTransformInfo.h
+++ b/llvm/include/llvm/Analysis/TargetTransformInfo.h
@@ -80,7 +80,7 @@ public:
/// API below.
///
/// This is used by targets to construct a TTI wrapping their target-specific
- /// implementaion that encodes appropriate costs for their target.
+ /// implementation that encodes appropriate costs for their target.
template <typename T> TargetTransformInfo(T Impl);
/// Construct a baseline TTI object using a minimal implementation of
@@ -246,7 +246,7 @@ public:
ArrayRef<const Value *> Arguments,
const User *U = nullptr) const;
- /// \Return the expected cost of a memcpy, which could e.g. depend on the
+ /// \return the expected cost of a memcpy, which could e.g. depend on the
/// source/destination type and alignment and the number of bytes copied.
int getMemcpyCost(const Instruction *I) const;
@@ -304,7 +304,7 @@ public:
// Returns true for the target specific
// set of operations which produce uniform result
- // even taking non-unform arguments
+ // even taking non-uniform arguments
bool isAlwaysUniform(const Value *V) const;
/// Returns the address space ID for a target's 'flat' address space. Note
@@ -716,7 +716,7 @@ public:
bool shouldMaximizeVectorBandwidth(bool OptSize) const;
/// \return The minimum vectorization factor for types of given element
- /// bit width, or 0 if there is no mimimum VF. The returned value only
+ /// bit width, or 0 if there is no minimum VF. The returned value only
/// applies when shouldMaximizeVectorBandwidth returns true.
unsigned getMinimumVF(unsigned ElemWidth) const;
OpenPOWER on IntegriCloud