OSDN Git Service

MIR Statepoint refactoring. Part 1: Basic MI level changes.
authorDenis Antrushin <dantrushin@gmail.com>
Wed, 10 Jun 2020 12:53:54 +0000 (19:53 +0700)
committerDenis Antrushin <dantrushin@gmail.com>
Thu, 16 Jul 2020 17:57:21 +0000 (00:57 +0700)
commitef658ebd6292f2c555ad774d68705d307c1f2fbf
treef389a724d69c0db7b21e8b41cc92be8844fe97da
parentd909764cc763ae4cdf2125e0adfe288afa829f5b
MIR Statepoint refactoring. Part 1: Basic MI level changes.

Basic support for variadic-def MIR Statepoint:
- Change TableGen STATEPOINT description to variadic out list
  (For self-documentation purpose; by itself it does not affect
  code generation in any way).
- Update StatepointOpers helper class to handle variadic defs.
- Update MachineVerifier to properly handle them, too.

With this change, new Statepoint instruction can be passed through
backend (excluding ISEL) without errors.

Full change set is available at D81603.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D81645
llvm/include/llvm/CodeGen/StackMaps.h
llvm/include/llvm/Target/Target.td
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/test/CodeGen/X86/statepoint-vreg.mir [new file with mode: 0644]