mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
R600: Don't mix LDS and non-LDS instructions in the same group
There are a lot of restrictions on instruction groups that contain LDS instructions, so for now we will be conservative and not packetize anything else with them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -161,6 +161,10 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
if (MI->getOpcode() == AMDGPU::GROUP_BARRIER)
|
if (MI->getOpcode() == AMDGPU::GROUP_BARRIER)
|
||||||
return true;
|
return true;
|
||||||
|
// XXX: This can be removed once the packetizer properly handles all the
|
||||||
|
// LDS instruction group restrictions.
|
||||||
|
if (TII->isLDSInstr(MI->getOpcode()))
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user