mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
84e23e08f1
commit
cfde1fb5be
@ -157,10 +157,9 @@ bool AMDGPUPassConfig::addInstSelector() {
|
|||||||
if (ST.getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) {
|
if (ST.getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS) {
|
||||||
addPass(createSILowerI1CopiesPass());
|
addPass(createSILowerI1CopiesPass());
|
||||||
addPass(createSIFixSGPRCopiesPass(*TM));
|
addPass(createSIFixSGPRCopiesPass(*TM));
|
||||||
|
addPass(createSIFoldOperandsPass());
|
||||||
}
|
}
|
||||||
|
|
||||||
addPass(createSILowerI1CopiesPass());
|
|
||||||
addPass(createSIFoldOperandsPass());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user