[llvm-commits] CVS: llvm/include/llvm/Constants.h
Dan Gohman
djg at cray.com
Thu May 24 07:36:39 PDT 2007
Changes in directory llvm/include/llvm:
Constants.h updated: 1.146 -> 1.147
---
Log message:
Minor comment cleanups.
---
Diffs of the changes: (+4 -4)
Constants.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.146 llvm/include/llvm/Constants.h:1.147
--- llvm/include/llvm/Constants.h:1.146 Fri Apr 13 13:12:09 2007
+++ llvm/include/llvm/Constants.h Thu May 24 09:36:03 2007
@@ -399,14 +399,14 @@
return get(std::vector<Constant*>(Vals, Vals+NumVals));
}
- /// getType - Specialize the getType() method to always return an VectorType,
+ /// getType - Specialize the getType() method to always return a VectorType,
/// which reduces the amount of casting needed in parts of the compiler.
///
inline const VectorType *getType() const {
return reinterpret_cast<const VectorType*>(Value::getType());
}
- /// @returns the value for an packed integer constant of the given type that
+ /// @returns the value for a vector integer constant of the given type that
/// has all its bits set to true.
/// @brief Get the all ones value
static ConstantVector *getAllOnesValue(const VectorType *Ty);
@@ -416,7 +416,7 @@
/// created as ConstantAggregateZero objects.
virtual bool isNullValue() const { return false; }
- /// This function will return true iff every element in this packed constant
+ /// This function will return true iff every element in this vector constant
/// is set to all ones.
/// @returns true iff this constant's emements are all set to all ones.
/// @brief Determine if the value is all ones.
@@ -631,7 +631,7 @@
static Constant *getShuffleVector(Constant *V1, Constant *V2, Constant *Mask);
/// Floating point negation must be implemented with f(x) = -0.0 - x. This
- /// method returns the negative zero constant for floating point or packed
+ /// method returns the negative zero constant for floating point or vector
/// floating point types; for all other types, it returns the null value.
static Constant *getZeroValueForNegationExpr(const Type *Ty);
More information about the llvm-commits
mailing list