ARM IAS: support #:{lower,upper}16: for GNU compatibility
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 10 Jan 2014 04:38:40 +0000 (04:38 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 10 Jan 2014 04:38:40 +0000 (04:38 +0000)
commit7ff05025b01e33d58cecd376d4fc9a73afe9d2a6
tree7c91d7718ba961d0d606d67636fe1d44edb75525
parent003132d48cbb371c9bf059de4740f6d1e4142868
ARM IAS: support #:{lower,upper}16: for GNU compatibility

The GNU assembler supports prefixing the expression with a '#' to indiciate that
the value that is being moved is infact a constant.  This improves the
compatibility of the integrated assembler's parser for this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198916 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/target-expressions.s [new file with mode: 0644]