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 | 16fda6982b8fa366db2632d3b1775d71f1fd4eaa (patch) | |
tree | 6c62e879d64937f7dbf58105cdb8c371af322911 /lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | |
parent | 5b13a1a4c3a90c1dfd4b5c2521b5900ff367b12c (diff) |
In the same spirit of r101524, which removed the assert() from printAddrMode2OffsetOperand(),
this patch removes the assert() from printAddrMode3OffsetOperand() and adds a test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index ddd2ba5c82..88e8d98775 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -555,7 +555,6 @@ void ARMAsmPrinter::printAddrMode3OffsetOperand(const MachineInstr *MI, int Op, } unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); - assert(ImmOffs && "Malformed indexed load / store!"); O << "#" << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs; |