[llvm-commits] [PATCH] Change 'ConstantAggrUniqueMap' to use the new hashing implementation

Meador Inge meadori at gmail.com
Mon Mar 5 20:43:20 PST 2012


Hi All,

The attached patch changes 'ConstantAggrUniqueMap' to use the new
hashing implementation.  I don't love the explicit loops, but
op_begin/op_end iterate over 'Use's instead of the needed
'Constant*'s.  Even with the explicit loops it is a step up form what
is currently being done.

Full 'make check';  no regressions.  Can someone please commit for me?

-- 
# Meador
-------------- next part --------------
A non-text attachment was scrubbed...
Name: constant-aggr-unique-map-hashing.patch
Type: application/octet-stream
Size: 2512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120305/bc5b9e5d/attachment.obj>


More information about the llvm-commits mailing list