summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_simplifier.cc
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2015-07-14 09:25:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-07-14 09:25:43 +0000
commitd1665b7a689086ec5b33a69a05313c46ea1a95e4 (patch)
tree1d46845e8c5734683077357bf18743d5eec466e2 /compiler/optimizing/instruction_simplifier.cc
parentc6f3439b67962584cfb764133e192c3317f0e1fc (diff)
parent7f63c52c8e94ed1340b7a1d04b046ff12819d2bc (diff)
Merge "Revert "Revert "Fuse long and FP compare & condition on ARM64 in Optimizing."""
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.cc')
-rw-r--r--compiler/optimizing/instruction_simplifier.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/instruction_simplifier.cc b/compiler/optimizing/instruction_simplifier.cc
index c86d7973f5..b30b6c7bae 100644
--- a/compiler/optimizing/instruction_simplifier.cc
+++ b/compiler/optimizing/instruction_simplifier.cc
@@ -518,10 +518,10 @@ void InstructionSimplifierVisitor::VisitLessThanOrEqual(HLessThanOrEqual* condit
void InstructionSimplifierVisitor::VisitCondition(HCondition* condition) {
// Try to fold an HCompare into this HCondition.
- // This simplification is currently only supported on x86, x86_64 and ARM.
- // TODO: Implement it for ARM64 and MIPS64.
+ // This simplification is currently supported on x86, x86_64, ARM and ARM64.
+ // TODO: Implement it for MIPS64.
InstructionSet instruction_set = GetGraph()->GetInstructionSet();
- if (instruction_set != kX86 && instruction_set != kX86_64 && instruction_set != kThumb2) {
+ if (instruction_set == kMips64) {
return;
}