diff options
Diffstat (limited to 'compiler/optimizing/instruction_simplifier_shared.h')
| -rw-r--r-- | compiler/optimizing/instruction_simplifier_shared.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/instruction_simplifier_shared.h b/compiler/optimizing/instruction_simplifier_shared.h index b016a8769e..758fc7663d 100644 --- a/compiler/optimizing/instruction_simplifier_shared.h +++ b/compiler/optimizing/instruction_simplifier_shared.h @@ -41,7 +41,8 @@ inline bool CanFitInShifterOperand(HInstruction* instruction) {  inline bool HasShifterOperand(HInstruction* instr, InstructionSet isa) {    // On ARM64 `neg` instructions are an alias of `sub` using the zero register    // as the first register input. -  bool res = instr->IsAdd() || instr->IsAnd() || (isa == kArm64 && instr->IsNeg()) || +  bool res = instr->IsAdd() || instr->IsAnd() || +      (isa == InstructionSet::kArm64 && instr->IsNeg()) ||        instr->IsOr() || instr->IsSub() || instr->IsXor();    return res;  }  |