summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_simplifier.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-12-14 04:02:21 -0800
committer android-build-merger <android-build-merger@google.com> 2015-12-14 04:02:21 -0800
commit38b858a8ebd8540ba0424f2566bdb40694d74602 (patch)
treee39e0b0a1ea5ac7b38053bdb2e8aa0b2902aac9e /compiler/optimizing/instruction_simplifier.cc
parentf0b904fc28fe8e3139a5352897c0f4bbff005423 (diff)
parent5105c185274bf09edaba8ce0bd5d8c1d3c203152 (diff)
Merge "Optimizing: Clean up after HRor." am: 70c1a8fade
am: 5105c18527 * commit '5105c185274bf09edaba8ce0bd5d8c1d3c203152': 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) {