mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
AMDGPU: Run SIInsertWaits as pre-emit pass
Running this after the scheduler enables scheduling waits later so other ALU instructions can run while this would be waiting. When combined with enabling the post-RA scheduler, this gives about a ~20% improvement on sgemm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
96fe9196e9
commit
b560f9ca2f
@ -280,10 +280,10 @@ void GCNPassConfig::addPostRegAlloc() {
|
||||
}
|
||||
|
||||
void GCNPassConfig::addPreSched2() {
|
||||
addPass(createSIInsertWaits(*TM), false);
|
||||
}
|
||||
|
||||
void GCNPassConfig::addPreEmitPass() {
|
||||
addPass(createSIInsertWaits(*TM), false);
|
||||
addPass(createSILowerControlFlowPass(*TM), false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user