Move TargetData to DataLayout.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / TargetSelectionDAGInfo.cpp
1 //===-- TargetSelectionDAGInfo.cpp - SelectionDAG Info --------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This implements the TargetSelectionDAGInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "llvm/Target/TargetSelectionDAGInfo.h"
15 #include "llvm/Target/TargetMachine.h"
16 using namespace llvm;
17
18 TargetSelectionDAGInfo::TargetSelectionDAGInfo(const TargetMachine &TM)
19   : TD(TM.getDataLayout()) {
20 }
21
22 TargetSelectionDAGInfo::~TargetSelectionDAGInfo() {
23 }