[llvm-commits] [llvm] r152116 - /llvm/trunk/lib/VMCore/ConstantsContext.h

Meador Inge meadori at gmail.com
Wed Mar 7 21:54:05 PST 2012


On Tue, Mar 6, 2012 at 9:27 PM, Chandler Carruth <chandlerc at google.com> wrote:

> Also, in the second case, we already had an array of pointers that we could
> chew through with hash_combine_range. We can make both interfaces look the
> same with a SmallVector buffer. I've switched the code in r152200.

A better approach is to just add a new iterator for pulling out the
operand values.
Maybe something like the attached?

--  Meador
-------------- next part --------------
A non-text attachment was scrubbed...
Name: operand-value-iterator.patch
Type: application/octet-stream
Size: 3326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120307/bcade824/attachment.obj>


More information about the llvm-commits mailing list