[ARM] Remove redundant check. NFC

isSwift is tested earlier and known to be false when we reach this code.

llvm-svn: 272127
This commit is contained in:
Diana Picus 2016-06-08 10:29:02 +00:00
parent 46e38f3678
commit 0781d10ac4
1 changed files with 1 additions and 1 deletions

View File

@ -3149,7 +3149,7 @@ ARMBaseInstrInfo::getNumMicroOps(const InstrItineraryData *ItinData,
if (NumRegs % 2)
++A8UOps;
return A8UOps;
} else if (Subtarget.isLikeA9() || Subtarget.isSwift()) {
} else if (Subtarget.isLikeA9()) {
int A9UOps = (NumRegs / 2);
// If there are odd number of registers or if it's not 64-bit aligned,
// then it takes an extra AGU (Address Generation Unit) cycle.