Fixed some bugs.
[llvm/zpu.git] / lib / CodeGen / SelectionDAG / TargetSelectionDAGInfo.cpp
bloba081e3cd493fc2ed209f3b3cf52ecbb55e56651d
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.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Target/TargetSelectionDAGInfo.h"
15 #include "llvm/Target/TargetMachine.h"
16 using namespace llvm;
18 TargetSelectionDAGInfo::TargetSelectionDAGInfo(const TargetMachine &TM)
19 : TD(TM.getTargetData()) {
22 TargetSelectionDAGInfo::~TargetSelectionDAGInfo() {