Condition codes AL and NV are invalid in the aliases that use
authorArtyom Skrobov <Artyom.Skrobov@arm.com>
Tue, 10 Jun 2014 13:11:35 +0000 (13:11 +0000)
committerArtyom Skrobov <Artyom.Skrobov@arm.com>
Tue, 10 Jun 2014 13:11:35 +0000 (13:11 +0000)
commit45a31492d5475a1744966a0cd5e631694b29f953
tree1de64d9289e04769ccf7bf00324df191e33f9634
parent8316a97e024de3b335386922a6c3b6e1a7b197f5
Condition codes AL and NV are invalid in the aliases that use
inverted condition codes (CINC, CINV, CNEG, CSET, and CSETM).

Matching aliases based on "immediate classes", when disassembling,
wasn't previously supported, hence adding MCOperandPredicate
into class Operand, and implementing the support for it
in AsmWriterEmitter.

The parsing for those aliases was already custom, so just adding
the missing condition into AArch64AsmParser::parseCondCode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210528 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/Target.td
lib/Target/AArch64/AArch64InstrFormats.td
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
test/MC/AArch64/basic-a64-diagnostics.s
test/MC/Disassembler/AArch64/basic-a64-instructions.txt
utils/TableGen/AsmWriterEmitter.cpp