summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-04-25 12:16:27 -0400
committerTom Stellard <[email protected]>2012-04-25 12:52:44 -0400
commit30f2a38cef4d4a75776fbd822ff4ad716302b888 (patch)
tree42e749570ba8478848076cb6b904bf0b139fad33 /src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
parent540ec964db1c0046935def3c85b2a5c7bd634782 (diff)
radeon/llvm: Remove AMDILMachineFunctionInfo.cpp
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp b/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
index b24006aef22..313349ce01b 100644
--- a/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
+++ b/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
@@ -119,10 +119,6 @@ AMDGPUPassConfig::addPreISel()
}
bool AMDGPUPassConfig::addInstSelector() {
- const AMDILSubtarget &ST = TM->getSubtarget<AMDILSubtarget>();
- if (ST.device()->getGeneration() == AMDILDeviceInfo::HD7XXX) {
- PM.add(createSIInitMachineFunctionInfoPass(*TM));
- }
PM.add(createAMDILPeepholeOpt(*TM));
PM.add(createAMDILISelDag(getAMDGPUTargetMachine()));
return false;