]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Fix yet another unseen regression caused by r223113
authorAsiri Rathnayake <asiri.rathnayake@arm.com>
Thu, 4 Dec 2014 19:34:59 +0000 (19:34 +0000)
committerAsiri Rathnayake <asiri.rathnayake@arm.com>
Thu, 4 Dec 2014 19:34:59 +0000 (19:34 +0000)
commit61f319300122bcc6fa7358ddd8fb520763cb8cba
treeabbedad0094f2a9d53bc45d6a47fa59dc0b0297b
parent3d478553942d796764a9ae4ba8f6aca378ab867d
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
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/basic-arm-instructions.s
test/MC/ARM/ldr-pseudo-parse-errors.s