Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / lib / Target / DirectX / DirectXSubtarget.cpp
blob526b7d29fb13ed5d91e98a96b6c2c2c218709768
1 //===-- DirectXSubtarget.cpp - DirectX Subtarget Information --------------===//
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 /// \file
10 /// This file implements the DirectX-specific subclass of TargetSubtarget.
11 ///
12 //===----------------------------------------------------------------------===//
14 #include "DirectXSubtarget.h"
15 #include "DirectXTargetLowering.h"
17 using namespace llvm;
19 #define DEBUG_TYPE "directx-subtarget"
21 #define GET_SUBTARGETINFO_CTOR
22 #define GET_SUBTARGETINFO_TARGET_DESC
23 #include "DirectXGenSubtargetInfo.inc"
25 DirectXSubtarget::DirectXSubtarget(const Triple &TT, StringRef CPU,
26 StringRef FS, const DirectXTargetMachine &TM)
27 : DirectXGenSubtargetInfo(TT, CPU, CPU, FS), FL(*this), TL(TM, *this) {}
29 void DirectXSubtarget::anchor() {}