DescriptionSubzero: Simplify the constant pools.
Internally, create a separate constant pool for each integer type, instead of a single i64 pool that uses the Ice::Type value as part of the key. This means each constant pool key can be a simple primitive value, rather than a tuple.
Represent the pools using std::unordered_map instead of std::map since we're using C++11 now.
Use signed integers instead of unsigned integers for the integer constant pools, to benefit from sign extension and to be more consistent.
Remove the SuppressMangling field from hash and comparison functions on RelocatableTuple, since we'll never have two symbols with the same name but different values of SuppressMangling.
BUG= none
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=d2cb4361c732dcddc98659415f37be45982e20c3
Patch Set 1 #Patch Set 2 : Minor cleanup #
Total comments: 1
Patch Set 3 : More cleanup #
Total comments: 12
Patch Set 4 : Address Karl and Jan's feedback #
Total comments: 4
Patch Set 5 : Better fix for the int8/uint8 tests #
Messages
Total messages: 11 (2 generated)
|