forked from OSchip/llvm-project
ARM addrmode5 instructions have neither writeback nor post-indexed modes.
llvm-svn: 117660
This commit is contained in:
parent
31d1e2153f
commit
8682b69b81
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue