diff options
author | Diana Picus <diana.picus@linaro.org> | 2016-06-08 10:29:02 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2016-06-08 10:29:02 +0000 |
commit | 0781d10ac44018e7067bcdbf8e1b20cb5c497703 (patch) | |
tree | 46f467b3c379093bc594092e51fc1d529ac36e9f | |
parent | 46e38f36785508dc6f90e642c68e4a72a493e8f5 (diff) | |
download | bcm5719-llvm-0781d10ac44018e7067bcdbf8e1b20cb5c497703.tar.gz bcm5719-llvm-0781d10ac44018e7067bcdbf8e1b20cb5c497703.zip |
[ARM] Remove redundant check. NFC
isSwift is tested earlier and known to be false when we reach this code.
llvm-svn: 272127
-rw-r--r-- | llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp index d90d1443448..40a69e4b4e3 100644 --- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp @@ -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. |