summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_simplifier.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-12-14 02:28:41 -0800
committer android-build-merger <android-build-merger@google.com> 2015-12-14 02:28:41 -0800
commit5105c185274bf09edaba8ce0bd5d8c1d3c203152 (patch)
tree297ddee3c509bbb25fcc5d700a97b15d63296dae /compiler/optimizing/instruction_simplifier.cc
parent885a570efd44bfa4e6ef78f7760903240af7a2ad (diff)
parent70c1a8fade2967453663d0ffed0f137f06555fff (diff)
Merge "Optimizing: Clean up after HRor."
am: 70c1a8fade * commit '70c1a8fade2967453663d0ffed0f137f06555fff': Optimizing: Clean up after HRor.
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.cc')
-rw-r--r--compiler/optimizing/instruction_simplifier.cc4
1 files changed, 2 insertions, 2 deletions
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) {