getAllOnesValue also works for vectors of integers.
authorDuncan Sands <baldrick@free.fr>
Mon, 4 Jun 2012 07:18:12 +0000 (07:18 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 4 Jun 2012 07:18:12 +0000 (07:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157915 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constant.h

index 13acdc66b892450c7c0af0945859fd24e1c4324b..e0e516d55c9a20d7397c0769aed7c39167757896 100644 (file)
@@ -137,8 +137,8 @@ public:
 
   static Constant *getNullValue(Type* Ty);
 
-  /// @returns the value for an integer constant of the given type that has all
-  /// its bits set to true.
+  /// @returns the value for an integer or vector of integer constant of the
+  /// given type that has all its bits set to true.
   /// @brief Get the all ones value
   static Constant *getAllOnesValue(Type* Ty);