diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-04-16 19:57:21 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-04-16 19:57:21 +0000 |
commit | 2b7aba10c2afc84ed06bea5649d1ed42bf5ac4eb (patch) | |
tree | b9e6848147dc1996915331bc52ad65d1ba258a72 /llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | |
parent | 0591a050ff4d1861331a1cde388d7bc3f290e254 (diff) | |
download | bcm5719-llvm-2b7aba10c2afc84ed06bea5649d1ed42bf5ac4eb.tar.gz bcm5719-llvm-2b7aba10c2afc84ed06bea5649d1ed42bf5ac4eb.zip |
In the same spirit of r101524, which removed the assert() from printAddrMode2OffsetOperand(),
this patch removes the assert() from printAddrMode3OffsetOperand() and adds a test case.
llvm-svn: 101529
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp index 845d7bb085d..bc61a15e7a6 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp +++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp @@ -379,7 +379,6 @@ void ARMInstPrinter::printAddrMode3OffsetOperand(const MCInst *MI, } unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); - assert(ImmOffs && "Malformed indexed load / store!"); O << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs; |