[SystemZAsmParser] Treat VR128 separately in ParseDirectiveInsn().
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 6 Oct 2020 11:20:15 +0000 (13:20 +0200)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 6 Oct 2020 12:42:40 +0000 (14:42 +0200)
commit5588dbce73be2c86bf1701b2ebbce47239130296
tree8062e19486c2f16efe32ea4a062e18738caff4c1
parenta825eaa90e2419e3e9ae64ec047440ce98e7bacb
[SystemZAsmParser] Treat VR128 separately in ParseDirectiveInsn().

This patch makes the parser
  - reject higher vector registers (>=16) in operands where they should not
    be accepted.
  - accept higher integers (>=16) in vector register operands.

Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D88888
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
llvm/test/MC/SystemZ/directive-insn-vector.s
llvm/test/MC/SystemZ/regs-bad.s