
This patch adds no-op stubs overrides for the MCRegisterInfo and MCFrameLowering for the DirectX/DXIL code generation path. Since DXIL will not generate MCInstrs these stubs do nothing, but they need to exist so that the MC layer can be used to emit DXContainer objects. Differential Revision: https://reviews.llvm.org/D127147
21 lines
691 B
C++
21 lines
691 B
C++
//===-- DirectXInstrInfo.cpp - InstrInfo for DirectX -*- C++ ------------*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines the DirectX specific subclass of TargetInstrInfo.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "DirectXInstrInfo.h"
|
|
|
|
#define GET_INSTRINFO_CTOR_DTOR
|
|
#include "DirectXGenInstrInfo.inc"
|
|
|
|
using namespace llvm;
|
|
|
|
DirectXInstrInfo::~DirectXInstrInfo() {}
|