Chromium Code Reviews
DescriptionWeight variables for register allocation by their number of uses.
Count the number of instructions that use a variable following the heuristic
that more uses implies higher register priority. This is currently very simple
but is precursor work for weighting variables by loop nest depth.
BUG=
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=11c9a325399b282cb4ea7d1d24d42fceeec2a09a
Patch Set 1 #
Total comments: 17
Patch Set 2 : Tidy up lose ends. #
Total comments: 2
Patch Set 3 : #Patch Set 4 : Don't count a use if used as dest. #
Total comments: 9
Patch Set 5 : Correctly count variable uses in a new pass. #Patch Set 6 : Count uses in VMetadata #
Total comments: 8
Patch Set 7 : #
Messages
Total messages: 13 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||