summaryrefslogtreecommitdiff
path: root/compiler/optimizing/superblock_cloner.cc
diff options
context:
space:
mode:
author Artem Serov <artem.serov@linaro.org> 2017-10-23 19:19:06 +0100
committer Artem Serov <artem.serov@linaro.org> 2018-03-26 19:46:23 +0100
commit121f2038e9c8afe12f8f4096b7c84a167e7adea5 (patch)
tree655e2bba77ac34208c54b290286104b124003e59 /compiler/optimizing/superblock_cloner.cc
parentf9635aab3f2db9b1b13184e8146530a53246b82c (diff)
ART: Implement scalar loop unrolling.
Implement scalar loop unrolling for small loops (on arm64) with known trip count to reduce loop check and branch penalty and to provide more opportunities for instruction scheduling. Note: this functionality is turned off by default now. Test: cloner_test.cc Test: test-art-target, test-art-host Change-Id: Ic27fd8fb0bc0d7b69251252da37b8b510bc30acc
Diffstat (limited to 'compiler/optimizing/superblock_cloner.cc')
-rw-r--r--compiler/optimizing/superblock_cloner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/superblock_cloner.cc b/compiler/optimizing/superblock_cloner.cc
index 04942f9a4a..ee74f1001f 100644
--- a/compiler/optimizing/superblock_cloner.cc
+++ b/compiler/optimizing/superblock_cloner.cc
@@ -853,7 +853,7 @@ void SuperblockCloner::CleanUp() {
}
}
- if (kSuperblockClonerVerify) {
+ if (kIsDebugBuild) {
VerifyGraph();
}
}