mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-24 05:09:34 +00:00
[ARM] Remove redundant check. NFC
isSwift is tested earlier and known to be false when we reach this code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04a303b821
commit
c5d0b1da6e
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user