summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_analysis.h
diff options
context:
space:
mode:
author Artem Serov <artem.serov@linaro.org> 2018-06-19 14:55:17 +0100
committer Artem Serov <artem.serov@linaro.org> 2018-06-22 14:41:50 +0100
commita6e2614354803077bd6e2f015873a717a7cc6690 (patch)
treec0bc563a2e002b18166912c7497ae2e1d66cd75b /compiler/optimizing/loop_analysis.h
parentf28f96987c9a8fc3d01154f51f0a37fd32967949 (diff)
ART: Extend the range of clonable instructions.
Make a bunch of instructions clonable: DivZeroCheck, TypeConversion, InstanceOf, CheckCast. Test: with forced peeling and unrolling (applied to every clonable loop) all the test pass and device boots to GUI. Test: angler boots to GUI. Test: test-art-target, test-art-host. Test: 530-checker-peel-unroll. Change-Id: Id056b998e0a656dbada6958e7c667b7331047059
Diffstat (limited to 'compiler/optimizing/loop_analysis.h')
-rw-r--r--compiler/optimizing/loop_analysis.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/optimizing/loop_analysis.h b/compiler/optimizing/loop_analysis.h
index c09d3ff00f..7f321b73c8 100644
--- a/compiler/optimizing/loop_analysis.h
+++ b/compiler/optimizing/loop_analysis.h
@@ -113,9 +113,7 @@ class LoopAnalysis : public ValueObject {
instruction->IsUnresolvedStaticFieldGet() ||
instruction->IsUnresolvedStaticFieldSet() ||
// TODO: Support loops with intrinsified invokes.
- instruction->IsInvoke() ||
- // TODO: Support loops with ClinitChecks.
- instruction->IsClinitCheck());
+ instruction->IsInvoke());
}
};