summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-17 19:06:25 +0000
committerTom Stellard <[email protected]>2012-09-17 21:09:43 +0000
commit059a56bddb6bd769632e5999cb23c7bdcb79bea1 (patch)
tree43991052a5faeaa1b3a5da5780e0f0c5a86b290f /src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
parent9fac1d1c3aa0c33339c6438cfbc51dc2066151dc (diff)
radeon/llvm: Move kernel arg lowering into R600TargetLowering class
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp b/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
index 2d1ca068905..c1b68403379 100644
--- a/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
+++ b/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
@@ -95,11 +95,6 @@ TargetPassConfig *AMDGPUTargetMachine::createPassConfig(PassManagerBase &PM) {
bool
AMDGPUPassConfig::addPreISel()
{
- const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>();
- if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) {
- PM->add(createR600KernelParametersPass(
- getAMDGPUTargetMachine().getTargetData()));
- }
return false;
}