ARM IAS: support emitting constant values in target expressions
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 11 Jan 2014 23:03:48 +0000 (23:03 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 11 Jan 2014 23:03:48 +0000 (23:03 +0000)
commit8009754517268e8da06bfafdd1c7803239464387
tree20fbf25389efd3d97f2f1566c1b90b844022e99a
parentccdb9c9483ed4453ac9b76c876e39cb08fcc5a6d
ARM IAS: support emitting constant values in target expressions

A 32-bit immediate value can be formed from a constant expression and loaded
into a register.  Add support to emit this into an object file.  Because this
value is a constant, a relocation must *not* be produced for it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199023 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
test/MC/ARM/target-expressions.s