[llvm-commits] [llvm] r157915 - /llvm/trunk/include/llvm/Constant.h

Duncan Sands baldrick at free.fr
Mon Jun 4 00:18:12 PDT 2012


Author: baldrick
Date: Mon Jun  4 02:18:12 2012
New Revision: 157915

URL: http://llvm.org/viewvc/llvm-project?rev=157915&view=rev
Log:
getAllOnesValue also works for vectors of integers.

Modified:
    llvm/trunk/include/llvm/Constant.h

Modified: llvm/trunk/include/llvm/Constant.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constant.h?rev=157915&r1=157914&r2=157915&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Constant.h (original)
+++ llvm/trunk/include/llvm/Constant.h Mon Jun  4 02:18:12 2012
@@ -137,8 +137,8 @@
 
   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);
 





More information about the llvm-commits mailing list