summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDILTargetMachine.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-01 16:40:53 -0400
committerTom Stellard <[email protected]>2012-05-01 16:42:58 -0400
commitd742d812d82ef61de1f41a18c8251db9b001bdd1 (patch)
tree8095a37888d888f176664573d40707fb1a518284 /src/gallium/drivers/radeon/AMDILTargetMachine.cpp
parent07f5dabc01e9a85073ffd333c37549ec5ae75c7a (diff)
radeon/llvm: Fix build for updated LLVM 3.1 release branch
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILTargetMachine.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDILTargetMachine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/AMDILTargetMachine.cpp b/src/gallium/drivers/radeon/AMDILTargetMachine.cpp
index 77fac1d97bd..0879d43ad72 100644
--- a/src/gallium/drivers/radeon/AMDILTargetMachine.cpp
+++ b/src/gallium/drivers/radeon/AMDILTargetMachine.cpp
@@ -150,8 +150,8 @@ bool AMDILPassConfig::addPreISel()
bool AMDILPassConfig::addInstSelector()
{
- PM.add(createAMDILPeepholeOpt(*TM));
- PM.add(createAMDILISelDag(getAMDILTargetMachine()));
+ PM->add(createAMDILPeepholeOpt(*TM));
+ PM->add(createAMDILISelDag(getAMDILTargetMachine()));
return false;
}
@@ -162,7 +162,7 @@ bool AMDILPassConfig::addPreRegAlloc()
llvm::RegisterScheduler::setDefault(&llvm::createSourceListDAGScheduler);
}
- PM.add(createAMDILMachinePeephole(*TM));
+ PM->add(createAMDILMachinePeephole(*TM));
return false;
}
@@ -175,8 +175,8 @@ bool AMDILPassConfig::addPostRegAlloc() {
/// true if -print-machineinstrs should print out the code after the passes.
bool AMDILPassConfig::addPreEmitPass()
{
- PM.add(createAMDILCFGPreparationPass(*TM));
- PM.add(createAMDILCFGStructurizerPass(*TM));
+ PM->add(createAMDILCFGPreparationPass(*TM));
+ PM->add(createAMDILCFGStructurizerPass(*TM));
return true;
}