diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-06-04 22:35:17 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-06-04 22:35:17 +0000 |
commit | 8a227084a5b07fa289c34f2b36e12f75b47473d6 (patch) | |
tree | 4fa9ffce7f9c6410f47c76bcd24b29136ec53e45 /lib/Target/ARM/ARMBaseInstrInfo.cpp | |
parent | f500aa0b2465152d1bae390e4d4a48e3a17e85a5 (diff) | |
download | llvm-8a227084a5b07fa289c34f2b36e12f75b47473d6.tar.gz llvm-8a227084a5b07fa289c34f2b36e12f75b47473d6.tar.bz2 llvm-8a227084a5b07fa289c34f2b36e12f75b47473d6.tar.xz |
Revert series of sched model patches until I figure out what is going on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.cpp')
-rw-r--r-- | lib/Target/ARM/ARMBaseInstrInfo.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp index b530515cdd..6005054271 100644 --- a/lib/Target/ARM/ARMBaseInstrInfo.cpp +++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp @@ -4152,8 +4152,6 @@ bool ARMBaseInstrInfo::hasNOP() const { } bool ARMBaseInstrInfo::isSwiftFastImmShift(const MachineInstr *MI) const { - if (MI->getNumOperands() < 4) - return true; unsigned ShOpVal = MI->getOperand(3).getImm(); unsigned ShImm = ARM_AM::getSORegOffset(ShOpVal); // Swift supports faster shifts for: lsl 2, lsl 1, and lsr 1. |