llvm-project/llvm/lib/Target/Mips/MipsSelectionDAGInfo.cpp
Eric Christopher 0dd8d486b3 Have TargetSelectionDAGInfo take a DataLayout initializer rather than
a TargetMachine since the only thing it wants is DataLayout.

llvm-svn: 210366
2014-06-06 19:04:48 +00:00

24 lines
759 B
C++

//===-- MipsSelectionDAGInfo.cpp - Mips SelectionDAG Info -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the MipsSelectionDAGInfo class.
//
//===----------------------------------------------------------------------===//
#include "MipsTargetMachine.h"
using namespace llvm;
#define DEBUG_TYPE "mips-selectiondag-info"
MipsSelectionDAGInfo::MipsSelectionDAGInfo(const MipsTargetMachine &TM)
: TargetSelectionDAGInfo(TM.getDataLayout()) {}
MipsSelectionDAGInfo::~MipsSelectionDAGInfo() {
}