author | Asiri Rathnayake <asiri.rathnayake@arm.com> | |
Thu, 4 Dec 2014 19:34:59 +0000 (19:34 +0000) | ||
committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | |
Thu, 4 Dec 2014 19:34:59 +0000 (19:34 +0000) | ||
commit | 61f319300122bcc6fa7358ddd8fb520763cb8cba | |
tree | abbedad0094f2a9d53bc45d6a47fa59dc0b0297b | tree | snapshot (tar.xz tar.gz zip) |
parent | 3d478553942d796764a9ae4ba8f6aca378ab867d | commit | diff |
Fix yet another unseen regression caused by r223113
r223113 added support for ARM modified immediate assembly syntax. Which
assumes all immediate operands are prefixed with a '#'. This assumption
is wrong as per the ARMARM - which recommends that all '#' characters be
treated optional. The current patch fixes this regression and adds a test
case. A follow-up patch will expand the test coverage to other instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223381 91177308-0d34-0410-b5e6-96231b3b80d8
r223113 added support for ARM modified immediate assembly syntax. Which
assumes all immediate operands are prefixed with a '#'. This assumption
is wrong as per the ARMARM - which recommends that all '#' characters be
treated optional. The current patch fixes this regression and adds a test
case. A follow-up patch will expand the test coverage to other instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223381 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | diff | blob | history | |
test/MC/ARM/basic-arm-instructions.s | diff | blob | history | |
test/MC/ARM/ldr-pseudo-parse-errors.s | diff | blob | history |