ARM assembly aliases for BIC<-->AND (immediate).
authorJim Grosbach <grosbach@apple.com>
Fri, 9 Dec 2011 22:02:17 +0000 (22:02 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 9 Dec 2011 22:02:17 +0000 (22:02 +0000)
commit840bf7eda7c81059a0aae9abd51262147c60d814
treef61a58655cfe14f77b1f28bacab0daf3360010ab
parentb3e6c70c84214821b4759086519730e68303a455
ARM assembly aliases for BIC<-->AND (immediate).

When the immediate operand of an AND or BIC instruction isn't representable
in the immediate field of the instruction, but the bitwise negation of the
immediate is, assemble the instruction as the inverse operation instead
with the inverted immediate as the operand.

rdar://10550057

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146283 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/MC/ARM/basic-arm-instructions.s