diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-04-13 02:11:48 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-04-13 02:11:48 +0000 |
commit | af7674cbd47ac3df94b47c39e7920f452bd3f4c7 (patch) | |
tree | 40954f00b02dfca628810ab43147565aef6321e4 /llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | |
parent | 5867a56db8933d0af3ae70938d2ab80644e00966 (diff) | |
download | bcm5719-llvm-af7674cbd47ac3df94b47c39e7920f452bd3f4c7.tar.gz bcm5719-llvm-af7674cbd47ac3df94b47c39e7920f452bd3f4c7.zip |
Replace r101053 with a fix for getSOImmValRotate() so that it will correctly
recognize all the valid rotated immediates. This fixes the disassembler
issue and will also help codegen for some unusual constant values.
llvm-svn: 101114
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp index c73fa130914..ef5ead6e473 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp +++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp @@ -225,7 +225,7 @@ void ARMInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, static void printSOImm(raw_ostream &O, int64_t V, bool VerboseAsm, const MCAsmInfo *MAI) { // Break it up into two parts that make up a shifter immediate. - V = ARM_AM::getSOImmValOneOrNoRotate(V); + V = ARM_AM::getSOImmVal(V); assert(V != -1 && "Not a valid so_imm value!"); unsigned Imm = ARM_AM::getSOImmValImm(V); |