[AArch64] Adjust the cost model for Exynos M1 and M2

Fix formatting in the predicate function AArch64InstrInfo::isExynosShiftLeftFast().

llvm-svn: 313553
This commit is contained in:
Evandro Menezes 2017-09-18 19:00:31 +00:00
parent d630a92b0e
commit 9cd1bd7a83
1 changed files with 2 additions and 1 deletions

View File

@ -798,7 +798,8 @@ bool AArch64InstrInfo::isExynosShiftLeftFast(const MachineInstr &MI) const {
Imm = MI.getOperand(3).getImm();
Shift = AArch64_AM::getArithShiftValue(Imm);
return (Shift == 0 ||
(Shift <= 3 && AArch64_AM::getExtendType(Imm) == AArch64_AM::UXTX));
(Shift <= 3 &&
AArch64_AM::getArithExtendType(Imm) == AArch64_AM::UXTX));
}
}