R600/SI: Don't run SI passes on R600 subtargets

llvm-svn: 223252
This commit is contained in:
Tom Stellard 2014-12-03 18:27:05 +00:00
parent e8fb6937ba
commit 92105e87e8
1 changed files with 1 additions and 1 deletions

View File

@ -188,8 +188,8 @@ bool AMDGPUPassConfig::addPreRegAlloc() {
bool AMDGPUPassConfig::addPostRegAlloc() {
const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>();
addPass(createSIShrinkInstructionsPass());
if (ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) {
addPass(createSIShrinkInstructionsPass());
addPass(createSIInsertWaits(*TM));
}
return false;