[llvm] r272127 - [ARM] Remove redundant check. NFC
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 8 03:29:03 PDT 2016
Author: rovka
Date: Wed Jun 8 05:29:02 2016
New Revision: 272127
URL: http://llvm.org/viewvc/llvm-project?rev=272127&view=rev
Log:
[ARM] Remove redundant check. NFC
isSwift is tested earlier and known to be false when we reach this code.
Modified:
llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp?rev=272127&r1=272126&r2=272127&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp Wed Jun 8 05:29:02 2016
@@ -3149,7 +3149,7 @@ ARMBaseInstrInfo::getNumMicroOps(const I
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.
More information about the llvm-commits
mailing list