ARM addrmode5 instructions have neither writeback nor post-indexed modes.

llvm-svn: 117660
This commit is contained in:
Jim Grosbach 2010-10-29 16:38:59 +00:00
parent 31d1e2153f
commit 8682b69b81
1 changed files with 2 additions and 2 deletions

View File

@ -236,9 +236,9 @@ public:
bool isMemMode5() const {
// FIXME: Is this right? What about postindexed and Writeback?
if (!isMemory() || Mem.OffsetIsReg || Mem.OffsetRegShifted ||
Mem.Preindexed || Mem.Negative)
Mem.Preindexed || Mem.Negative || Mem.Postindexed ||
Mem.Writeback)
return false;
return true;