forked from OSchip/llvm-project
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. llvm-svn: 187513
This commit is contained in:
parent
79afe17e99
commit
21de8baa15
|
@ -161,6 +161,10 @@ public:
|
|||
return true;
|
||||
if (MI->getOpcode() == AMDGPU::GROUP_BARRIER)
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue