diff options
| author | 2015-07-13 15:54:55 +0000 | |
|---|---|---|
| committer | 2015-07-13 16:57:09 +0100 | |
| commit | 7f63c52c8e94ed1340b7a1d04b046ff12819d2bc (patch) | |
| tree | c3a68ff7d6b3fc9b38c6554f689efcf8eaba8fdf /compiler/optimizing/instruction_simplifier.cc | |
| parent | bed50d2430e02a3d6b94972e8ab4873d7b3b8be0 (diff) | |
Revert "Revert "Fuse long and FP compare & condition on ARM64 in Optimizing.""
This reverts commit bed50d2430e02a3d6b94972e8ab4873d7b3b8be0.
Bug: 21120453
Change-Id: I5e4aab2703966d9324ebde25bd8b83056fdb10ed
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.cc')
| -rw-r--r-- | compiler/optimizing/instruction_simplifier.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/instruction_simplifier.cc b/compiler/optimizing/instruction_simplifier.cc index 017b6781a9..04ba4e18c8 100644 --- a/compiler/optimizing/instruction_simplifier.cc +++ b/compiler/optimizing/instruction_simplifier.cc @@ -517,10 +517,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; } |