commit | 5f510ac3e95fd716f911bd884bc9f175297a383a | [log] [tgz] |
---|---|---|
author | Santiago Aboy Solanes <solanes@google.com> | Mon Jan 09 21:06:34 2023 +0000 |
committer | Santiago Aboy Solanes <solanes@google.com> | Wed Jan 11 14:55:46 2023 +0000 |
tree | 6edb0636c43aeb3652a28bac0f102c9065457b90 | |
parent | 0fc65342c7200849a50d4c54c0ffbcd8b4410032 [diff] |
Swap optimizations when inlining When we optimize a function we run: 1. Constant folding 2. Instruction simplifier 3. Dead code elimination Make the inliner use the same order of optimizations. Improvements are small but noticeable. Locally, Pixel 5 speed compile: * System server: -7.8KB (-0.02%) * SysUIGoogle: -3.9KB (-0.01%) * AGSA: -113KB (-0.03%) Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: If2eaf9b35b43f88c29093fcf9a9ba17da22d2535