R600/SI: Fix running SILowerI1Copies a second time

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2014-12-03 05:22:30 +00:00
parent 84e23e08f1
commit cfde1fb5be

View File

@ -157,10 +157,9 @@ bool AMDGPUPassConfig::addInstSelector() {
if (ST.getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) {
addPass(createSILowerI1CopiesPass());
addPass(createSIFixSGPRCopiesPass(*TM));
addPass(createSIFoldOperandsPass());
}
addPass(createSILowerI1CopiesPass());
addPass(createSIFoldOperandsPass());
return false;
}