From a757a0d52aca0311576306a03865dacba5d12e56 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 4 Jun 2012 07:18:12 +0000 Subject: [PATCH] getAllOnesValue also works for vectors of integers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157915 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constant.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index 13acdc66b89..e0e516d55c9 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);