diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-03-30 19:52:02 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-01-13 08:39:08 -1000 |
commit | 8f17a975e60b773d7c366a81c0d9bbe304f30859 (patch) | |
tree | 30e2495e18957d3adc9c9099f0c54261ac9902ac /ui | |
parent | 4c868ce6454872d395b29de8d82387b2ad14aeeb (diff) |
tcg/optimize: Adjust TempOptInfo allocation
Do not allocate a large block for indexing. Instead, allocate
for each temporary as they are seen.
In general, this will use less memory, if we consider that most
TBs do not touch every target register. This also allows us to
allocate TempOptInfo for new temps created during optimization.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions