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
diff --git a/compiler/optimizing/loop_analysis.h b/compiler/optimizing/loop_analysis.h
index c09d3ff..7f321b7 100644
--- a/compiler/optimizing/loop_analysis.h
+++ b/compiler/optimizing/loop_analysis.h
@@ -113,9 +113,7 @@
instruction->IsUnresolvedStaticFieldGet() ||
instruction->IsUnresolvedStaticFieldSet() ||
// TODO: Support loops with intrinsified invokes.
- instruction->IsInvoke() ||
- // TODO: Support loops with ClinitChecks.
- instruction->IsClinitCheck());
+ instruction->IsInvoke());
}
};