Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / lib / Target / Lanai / LanaiSelectionDAGInfo.cpp
blob307619c0448180e7d9c3f21a119a3e26ac6a15ed
1 //===-- LanaiSelectionDAGInfo.cpp - Lanai SelectionDAG Info -------------===//
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 implements the LanaiSelectionDAGInfo class.
11 //===----------------------------------------------------------------------===//
13 #include "LanaiSelectionDAGInfo.h"
15 #include "LanaiTargetMachine.h"
17 #define DEBUG_TYPE "lanai-selectiondag-info"
19 namespace llvm {
21 SDValue LanaiSelectionDAGInfo::EmitTargetCodeForMemcpy(
22 SelectionDAG & /*DAG*/, const SDLoc & /*dl*/, SDValue /*Chain*/,
23 SDValue /*Dst*/, SDValue /*Src*/, SDValue Size, Align /*Alignment*/,
24 bool /*isVolatile*/, bool /*AlwaysInline*/,
25 MachinePointerInfo /*DstPtrInfo*/,
26 MachinePointerInfo /*SrcPtrInfo*/) const {
27 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);
28 if (!ConstantSize)
29 return SDValue();
31 return SDValue();
34 } // namespace llvm