McARM: Always keep an offset expression, if used (instead of assuming == 0 if used...
authorDaniel Dunbar <daniel@zuster.org>
Tue, 18 Jan 2011 05:34:11 +0000 (05:34 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 18 Jan 2011 05:34:11 +0000 (05:34 +0000)
commitd3df5f32c059b3ac111f1c08571d5493aa1d48c6
treed5e7c3ca406a7fa83d8270627a9a1dc87eabd303
parent023835d51b6dd6e3a253deefa595b0d916b605ac
McARM: Always keep an offset expression, if used (instead of assuming == 0 if used but not present), and simplify logic.

Also, clean up various non-sensicalisms in isMemModeRegThumb() and isMemModeImmThumb().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp