[all-commits] [llvm/llvm-project] 49f55d: [SystemZ] Improve verification of MachineOperands.

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Mon Dec 16 09:53:00 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 49f55dda011ba80abeece9c44d667415eaf9ccb4
      https://github.com/llvm/llvm-project/commit/49f55dda011ba80abeece9c44d667415eaf9ccb4
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
    M llvm/lib/Target/SystemZ/SystemZOperands.td
    A llvm/test/CodeGen/SystemZ/mverify-optypes.mir

  Log Message:
  -----------
  [SystemZ]  Improve verification of MachineOperands.

Now that the machine verifier will check for cases of register/immediate
MachineOperands and their correspondence to the MC instruction descriptor,
this patch adds the operand types to the descriptors where they were
previously missing. All MCOI::OPERAND_UNKNOWN operand types have been handled
to get a known type, except for G_... (global isel) instructions.

Review: Ulrich Weigand
https://reviews.llvm.org/D71494




More information about the All-commits mailing list