diff options
author | 2023-02-03 17:14:59 +0000 | |
---|---|---|
committer | 2023-02-08 13:40:37 +0000 | |
commit | ec45c7711c3a416660c98e96147fc94c2c6b34b8 (patch) | |
tree | b21288000488913536b9fe98b58fb81d6b97abfe /compiler/optimizing/optimization.h | |
parent | 86b5f86d8dbf069084e7534e25f8faf4d879828b (diff) |
Unify simplification passes after high-level optimizations
* Add a constant folding pass after the later high-level optimizations
* Remove dead_code_elimination$after_lse to unify simplification passes (always constant folding, instruction simplifier, dead code elimination)
* Make dead_code_elimination$before_codegen run always.
Locally speed compile Pixel 5:
* system server -64.28KB (-0.13%)
* SystemUIGoogle: -16.31KB (-0.06%)
* AGSA: -140.57 (-0.04%)
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I305877fd83471dff059fe1d4f5b98e5b1063f1a5
Diffstat (limited to 'compiler/optimizing/optimization.h')
-rw-r--r-- | compiler/optimizing/optimization.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/optimization.h b/compiler/optimizing/optimization.h index c3ba17563e..2ef21b3ccc 100644 --- a/compiler/optimizing/optimization.h +++ b/compiler/optimizing/optimization.h @@ -43,7 +43,7 @@ class HOptimization : public ArenaObject<kArenaAllocOptimization> { // Return the name of the pass. Pass names for a single HOptimization should be of form // <optimization_name> or <optimization_name>$<pass_name> for common <optimization_name> prefix. - // Example: 'instruction_simplifier', 'instruction_simplifier$after_bce', + // Example: 'instruction_simplifier', 'instruction_simplifier$before_codegen', // 'instruction_simplifier$before_codegen'. const char* GetPassName() const { return pass_name_; } |