[llvm-commits] PATCH: Additional convenience methods for ConstantStruct, ConstantArray, and ConstantVector.

Talin viridia at gmail.com
Tue Feb 15 09:55:22 PST 2011


ping?

On Thu, Feb 10, 2011 at 1:40 PM, Talin <viridia at gmail.com> wrote:

> This patch adds a new "get" method to ConstantStruct, ConstantArray and
> ConstantVector. The new method accepts a pair of RandomAccessIterators,
> similar to other LLVM method signatures. This allows constants to be build
> using a small vector or other sequential container type more easily.
>
> In addition, I've also added an END_WITH_NULL variant for
> ConstantStruct::get(). I only added it to ConstantStruct because I figured
> that it would be an uncommon use case for arrays and vectors, whereas the
> creation of small constant structs of predetermined length is fairly common.
>
> --
> -- Talin
>



-- 
-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110215/b341f350/attachment.html>


More information about the llvm-commits mailing list