Add aliases for VAND imm to VBIC ~imm
authorRenato Golin <renato.golin@linaro.org>
Thu, 25 Sep 2014 11:31:24 +0000 (11:31 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 25 Sep 2014 11:31:24 +0000 (11:31 +0000)
commit6765c34b0c930afc7add70b31b2f17f6d3c6c917
treece53f1ee5df3601f179c3801ed9916780dad206d
parent4b667ee436404a241562c687b50b68a17147330a
Add aliases for VAND imm to VBIC ~imm

On ARM NEON, VAND with immediate (16/32 bits) is an alias to VBIC ~imm with
the same type size. Adding that logic to the parser, and generating VBIC
instructions from VAND asm files.

This patch also fixes the validation routines for NEON splat immediates which
were wrong.

Fixes PR20702.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrNEON.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h
test/MC/ARM/neon-bitwise-encoding.s
test/MC/ARM/vorr-vbic-illegal-cases.s