From 351dddf4025f07477161209e374741f089d97cb4 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 11 Dec 2015 16:34:46 +0000 Subject: Optimizing: Clean up after HRor. Change-Id: I96bd7fa2e8bdccb87a3380d063dad0dd57fed9d7 --- compiler/optimizing/instruction_simplifier.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/instruction_simplifier.cc') diff --git a/compiler/optimizing/instruction_simplifier.cc b/compiler/optimizing/instruction_simplifier.cc index 6946265abe..e1b13c5087 100644 --- a/compiler/optimizing/instruction_simplifier.cc +++ b/compiler/optimizing/instruction_simplifier.cc @@ -211,7 +211,7 @@ bool InstructionSimplifierVisitor::ReplaceRotateWithRor(HBinaryOperation* op, // Try to replace a binary operation flanked by one UShr and one Shl with a bitfield rotation. bool InstructionSimplifierVisitor::TryReplaceWithRotate(HBinaryOperation* op) { - // This simplification is currently supported on ARM and ARM64. + // This simplification is currently supported on x86, x86_64, ARM and ARM64. // TODO: Implement it for MIPS/64. const InstructionSet instruction_set = GetGraph()->GetInstructionSet(); switch (instruction_set) { @@ -1268,7 +1268,7 @@ void InstructionSimplifierVisitor::SimplifyStringEquals(HInvoke* instruction) { void InstructionSimplifierVisitor::SimplifyRotate(HInvoke* invoke, bool is_left) { DCHECK(invoke->IsInvokeStaticOrDirect()); DCHECK_EQ(invoke->GetOriginalInvokeType(), InvokeType::kStatic); - // This simplification is currently supported on ARM and ARM64. + // This simplification is currently supported on x86, x86_64, ARM and ARM64. // TODO: Implement it for MIPS/64. const InstructionSet instruction_set = GetGraph()->GetInstructionSet(); switch (instruction_set) { -- cgit v1.2.3-59-g8ed1b