Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / lib / MC / MCDXContainerStreamer.cpp
bloba596c9a16d498dad64b07a9316e0e29dd39161c1
1 //===- lib/MC/MCDXContainerStreamer.cpp - DXContainer Impl ----*- C++ -*---===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains the object streamer for DXContainer files.
11 //===----------------------------------------------------------------------===//
13 #include "llvm/MC/MCDXContainerStreamer.h"
14 #include "llvm/MC/MCAssembler.h"
15 #include "llvm/MC/TargetRegistry.h"
17 using namespace llvm;
19 void MCDXContainerStreamer::emitInstToData(const MCInst &,
20 const MCSubtargetInfo &) {}
22 MCStreamer *llvm::createDXContainerStreamer(
23 MCContext &Context, std::unique_ptr<MCAsmBackend> &&MAB,
24 std::unique_ptr<MCObjectWriter> &&OW, std::unique_ptr<MCCodeEmitter> &&CE) {
25 auto *S = new MCDXContainerStreamer(Context, std::move(MAB), std::move(OW),
26 std::move(CE));
27 return S;