mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
R600/SI: Add pattern for the AMDGPU.barrier.local intrinsic
lit test coverage to follow in the next commit. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a9e22b863
commit
5b388cac7f
@ -774,8 +774,17 @@ def S_CBRANCH_EXECNZ : SOPP <
|
||||
} // End isBranch = 1
|
||||
} // End isTerminator = 1
|
||||
|
||||
//def S_BARRIER : SOPP_ <0x0000000a, "S_BARRIER", []>;
|
||||
let hasSideEffects = 1 in {
|
||||
def S_BARRIER : SOPP <0x0000000a, (ins), "S_BARRIER",
|
||||
[(int_AMDGPU_barrier_local)]
|
||||
> {
|
||||
let SIMM16 = 0;
|
||||
let isBarrier = 1;
|
||||
let hasCtrlDep = 1;
|
||||
let mayLoad = 1;
|
||||
let mayStore = 1;
|
||||
}
|
||||
|
||||
def S_WAITCNT : SOPP <0x0000000c, (ins i32imm:$simm16), "S_WAITCNT $simm16",
|
||||
[]
|
||||
>;
|
||||
|
Loading…
Reference in New Issue
Block a user