mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
R600: Add support for GROUP_BARRIER instruction
Reviewed-by: Vincent Lejeune<vljn at ovi.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185161 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -177,7 +177,14 @@ private:
|
||||
AluInstCount ++;
|
||||
continue;
|
||||
}
|
||||
if (I->getOpcode() == AMDGPU::KILLGT) {
|
||||
// XXX: GROUP_BARRIER instructions cannot be in the same ALU clause as:
|
||||
//
|
||||
// * KILL or INTERP instructions
|
||||
// * Any instruction that sets UPDATE_EXEC_MASK or UPDATE_PRED bits
|
||||
// * Uses waterfalling (i.e. INDEX_MODE = AR.X)
|
||||
//
|
||||
// XXX: These checks have not been implemented yet.
|
||||
if (TII->mustBeLastInClause(I->getOpcode())) {
|
||||
I++;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user