[PATCH] D88888: [SystemZAsmParser] Treat VR128 separately in ParseDirectiveInsn().

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 04:29:55 PDT 2020


jonpa created this revision.
jonpa added a reviewer: uweigand.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
jonpa requested review of this revision.

Since vector registers require an extra bit of encoding they should not be part of the AnyReg register class together with the GPR and FP registers, so they are removed.

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.


https://reviews.llvm.org/D88888

Files:
  llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  llvm/lib/Target/SystemZ/SystemZRegisterInfo.td
  llvm/test/MC/SystemZ/directive-insn-vector.s
  llvm/test/MC/SystemZ/regs-bad.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88888.296412.patch
Type: text/x-patch
Size: 4728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201006/49d2fadb/attachment.bin>


More information about the llvm-commits mailing list