diff options
author | Tom Stellard <[email protected]> | 2012-05-27 22:11:53 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-29 11:55:52 -0400 |
commit | 49fb99bd131a4ed89e6f55cf360f67618acafec4 (patch) | |
tree | f315d09eb2d42b2f5bd7bfc1021ebdf249f7a807 /src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp | |
parent | 94a25b216bb7bf1f55e657d93d84f6de3f5e7ed4 (diff) |
radeon/llvm: Remove AMDILTargetMachine
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp b/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp index a96cc9507a3..b08e97b02b8 100644 --- a/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp +++ b/src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp @@ -12,7 +12,6 @@ //===----------------------------------------------------------------------===// #include "AMDGPUISelLowering.h" // For AMDGPUISD #include "AMDILDevices.h" -#include "AMDILTargetMachine.h" #include "AMDILUtilityFunctions.h" #include "llvm/ADT/ValueMap.h" #include "llvm/CodeGen/PseudoSourceValue.h" @@ -37,7 +36,7 @@ class AMDILDAGToDAGISel : public SelectionDAGISel { // make the right decision when generating code for different targets. const AMDILSubtarget &Subtarget; public: - AMDILDAGToDAGISel(AMDILTargetMachine &TM AMDIL_OPT_LEVEL_DECL); + AMDILDAGToDAGISel(TargetMachine &TM AMDIL_OPT_LEVEL_DECL); virtual ~AMDILDAGToDAGISel(); SDNode *Select(SDNode *N); @@ -76,12 +75,12 @@ private: // createAMDILISelDag - This pass converts a legalized DAG into a AMDIL-specific // DAG, ready for instruction scheduling. // -FunctionPass *llvm::createAMDILISelDag(AMDILTargetMachine &TM +FunctionPass *llvm::createAMDILISelDag(TargetMachine &TM AMDIL_OPT_LEVEL_DECL) { return new AMDILDAGToDAGISel(TM AMDIL_OPT_LEVEL_VAR); } -AMDILDAGToDAGISel::AMDILDAGToDAGISel(AMDILTargetMachine &TM +AMDILDAGToDAGISel::AMDILDAGToDAGISel(TargetMachine &TM AMDIL_OPT_LEVEL_DECL) : SelectionDAGISel(TM AMDIL_OPT_LEVEL_VAR), Subtarget(TM.getSubtarget<AMDILSubtarget>()) { |