[llvm-commits] [llvm] r117660 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Jim Grosbach
grosbach at apple.com
Fri Oct 29 09:38:59 PDT 2010
Author: grosbach
Date: Fri Oct 29 11:38:59 2010
New Revision: 117660
URL: http://llvm.org/viewvc/llvm-project?rev=117660&view=rev
Log:
ARM addrmode5 instructions have neither writeback nor post-indexed modes.
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=117660&r1=117659&r2=117660&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Fri Oct 29 11:38:59 2010
@@ -236,9 +236,9 @@
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;
More information about the llvm-commits
mailing list