[ARM] Don't omit non-default predication code
authorOliver Stannard <oliver.stannard@arm.com>
Tue, 21 Nov 2017 15:34:15 +0000 (15:34 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Tue, 21 Nov 2017 15:34:15 +0000 (15:34 +0000)
commit1e6d4b9e6262f5c9a4ed9c13af2d888e29d06a39
treebe9b9fb4e8a6fd7ad4aaaec38872c94f0eb4c541
parent1e73e95f3c82fcfdd9cd817d0b5989b697e4b05d
[ARM] Don't omit non-default predication code

This was causing the (invalid) predicated versions of the NEON VRINTX and
VRINTZ instructions to be accepted, with the condition code being ignored.

Also, there is no NEON VRINTR instruction, so that part of the check was not
necessary.

Differential revision: https://reviews.llvm.org/D39193

llvm-svn: 318771
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/invalid-fp-armv8.s
llvm/test/MC/ARM/invalid-neon-v8.s