diff options
| author | 2015-07-10 17:18:11 +0000 | |
|---|---|---|
| committer | 2015-07-10 17:18:11 +0000 | |
| commit | bed50d2430e02a3d6b94972e8ab4873d7b3b8be0 (patch) | |
| tree | 09939739f6ae87e05e91d370007e978b5e72ca8e /compiler/optimizing/instruction_simplifier.cc | |
| parent | 5cfe61f27ed9203498169355bb95db756486d292 (diff) | |
Revert "Fuse long and FP compare & condition on ARM64 in Optimizing."
This reverts commit 5cfe61f27ed9203498169355bb95db756486d292.
Change-Id: I9879e76e7f8315cace05700e3b571a6a4749bf1a
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 04ba4e18c8..017b6781a9 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 supported on x86, x86_64, ARM and ARM64. - // TODO: Implement it for MIPS64. + // This simplification is currently only supported on x86, x86_64 and ARM. + // TODO: Implement it for ARM64 and MIPS64. InstructionSet instruction_set = GetGraph()->GetInstructionSet(); - if (instruction_set == kMips64) { + if (instruction_set != kX86 && instruction_set != kX86_64 && instruction_set != kThumb2) { return; } |