DescriptionSubzero: Speed up VariablesMetadata initialization.
Currently, O2 calls VariablesMetadata::init() 4 times:
- Twice for liveness analysis, where only multi-block use information is needed for dealing with sparse bit vectors.
- Once for address mode inference, where single-definition information is needed.
- Once for register allocation, where all information is needed, including the set of all definitions which is needed for determining AllowOverlap.
So we limit the amount of data we gather based on the actual need.
BUG= none
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=877b04e409637216712d3c36fc155b47f8bd8d38
Patch Set 1 #
Total comments: 2
Patch Set 2 : Change variable name to clarify meaning; weaken assert #Patch Set 3 : Split Definitions[] into first plus the rest #
Total comments: 2
Messages
Total messages: 7 (1 generated)
|