llvm-6502/lib/Target/Sparc/SparcSelectionDAGInfo.cpp
Eric Christopher 5448320a20 Have TargetSelectionDAGInfo take a DataLayout initializer rather than
a TargetMachine since the only thing it wants is DataLayout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210366 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-06 19:04:48 +00:00

25 lines
766 B
C++

//===-- SparcSelectionDAGInfo.cpp - Sparc 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 SparcSelectionDAGInfo class.
//
//===----------------------------------------------------------------------===//
#include "SparcTargetMachine.h"
using namespace llvm;
#define DEBUG_TYPE "sparc-selectiondag-info"
SparcSelectionDAGInfo::SparcSelectionDAGInfo(const SparcTargetMachine &TM)
: TargetSelectionDAGInfo(TM.getDataLayout()) {
}
SparcSelectionDAGInfo::~SparcSelectionDAGInfo() {
}