[llvm] r223204 - R600/SI: Fix running SILowerI1Copies a second time
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Dec 2 21:22:31 PST 2014
Author: arsenm
Date: Tue Dec 2 23:22:30 2014
New Revision: 223204
URL: http://llvm.org/viewvc/llvm-project?rev=223204&view=rev
Log:
R600/SI: Fix running SILowerI1Copies a second time
Modified:
llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp
Modified: llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp?rev=223204&r1=223203&r2=223204&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUTargetMachine.cpp Tue Dec 2 23:22:30 2014
@@ -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;
}
More information about the llvm-commits
mailing list