aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-06-04 07:18:12 +0000
committerDuncan Sands <baldrick@free.fr>2012-06-04 07:18:12 +0000
commita757a0d52aca0311576306a03865dacba5d12e56 (patch)
treeaa00192d3a8a4b6d27e588ca23dccd0ef8465d58 /include
parentfc5ab2449364d4fe56acf320bb6664a18f8e40b6 (diff)
downloadexternal_llvm-a757a0d52aca0311576306a03865dacba5d12e56.zip
external_llvm-a757a0d52aca0311576306a03865dacba5d12e56.tar.gz
external_llvm-a757a0d52aca0311576306a03865dacba5d12e56.tar.bz2
getAllOnesValue also works for vectors of integers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Constant.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index 13acdc6..e0e516d 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -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);