diff options
author | Owen Anderson <resistor@mac.com> | 2011-08-08 20:42:17 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-08-08 20:42:17 +0000 |
commit | 6d74631062e4464326eb5c680a4d62d340fa42eb (patch) | |
tree | 277be81c9b1be1fe1bf8b5add9e35991c81c544e /lib/Target/ARM/ARMCodeEmitter.cpp | |
parent | 2cb1dfa4464c8dc551d93e0ce34d7a2f797304db (diff) | |
download | llvm-6d74631062e4464326eb5c680a4d62d340fa42eb.tar.gz llvm-6d74631062e4464326eb5c680a4d62d340fa42eb.tar.bz2 llvm-6d74631062e4464326eb5c680a4d62d340fa42eb.tar.xz |
Fix encodings for Thumb ASR and LSR immediate operands. They encode the range 1-32, with 32 encoded as 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r-- | lib/Target/ARM/ARMCodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp index 7d4eb6f18f..c30aa37454 100644 --- a/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/lib/Target/ARM/ARMCodeEmitter.cpp @@ -236,6 +236,8 @@ namespace { const {return 0; } uint32_t getLdStSORegOpValue(const MachineInstr &MI, unsigned OpIdx) const { return 0; } + unsigned getThumbSRImmOpValue(const MachineInstr &MI, unsigned OpIdx) + const { return 0; } unsigned getAddrModeImm12OpValue(const MachineInstr &MI, unsigned Op) const { |