diff options
author | 2022-12-15 18:45:33 +0000 | |
---|---|---|
committer | 2022-12-16 14:51:27 +0000 | |
commit | 802ac606e7766263bb5aa46d2871f681ec06d302 (patch) | |
tree | 0353babbf3c00509f4a2de331ebb266cfd5f5208 /compiler/optimizing/optimizing_compiler_stats.h | |
parent | bf778f0cc4d91b93ebd877db0a3f4187d482be4b (diff) |
Add irreducible loop check in CanInlineBody
In aosp/2335809 we moved splitting the critical edge (aka adding
the extra goto) from the builder to InlineInto. We need to
also move the irreducible loop check from there to inliner.cc.
Bug: 262725735
Fixes: 262725735
Test: dex2oat compiling the apps in the bug
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I94eebfb21cd94b1199ba996d458b897b7917840e
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
-rw-r--r-- | compiler/optimizing/optimizing_compiler_stats.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index c741b02751..100441aaff 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -92,7 +92,8 @@ enum class MethodCompilationStat { kNotInlinedEnvironmentBudget, kNotInlinedInstructionBudget, kNotInlinedLoopWithoutExit, - kNotInlinedIrreducibleLoop, + kNotInlinedIrreducibleLoopCallee, + kNotInlinedIrreducibleLoopCaller, kNotInlinedAlwaysThrows, kNotInlinedInfiniteLoop, kNotInlinedTryCatchCallee, |