aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-29 16:50:53 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-29 16:50:53 +0000
commitd8d716fad3eefce98fac5a76a70250d89fcf9a20 (patch)
tree961ef0a9b5fe921d79305f65f185fb5c5bc26542
parent0e82ac07bc6e48cc343951a28e61bbf748690d6d (diff)
Revert 117660. Apparently it's not as trivial as that...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117663 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 857352bfea..b09dcd080f 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -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.Postindexed ||
- Mem.Writeback)
+ Mem.Preindexed || Mem.Negative)
return false;
return true;